Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 104.2 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 214.7 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.62 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006855/0.3799, allocations: 4.111 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.3844, allocations: 2.33 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.3847, allocations: 11.94 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3865, allocations: 0.5464 MB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000901/0.3874, allocations: 298.6 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3885, allocations: 347.2 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008822/0.3893, allocations: 0.5841 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.3899, allocations: 303.9 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.3903, allocations: 255.2 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/0.3909, allocations: 307 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.3909, allocations: 36 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.3915, allocations: 263.5 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.3917, allocations: 187.5 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3919, allocations: 187.2 kB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008529/0.3927, allocations: 0.6811 MB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3927, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3927, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3928, allocations: 4 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001374/0.3941, allocations: 0.6665 MB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3942, allocations: 12.03 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3955, allocations: 164.4 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.396, allocations: 266.8 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.396, allocations: 33.36 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.3961, allocations: 32.38 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3972, allocations: 0.7503 MB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3973, allocations: 7.953 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.3973, allocations: 19.98 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.3974, allocations: 52.56 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.3983, allocations: 494.1 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.4021, allocations: 2.645 MB / 1.342 GB, free: 1.145 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.4029, allocations: 376.7 kB / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.4032, allocations: 161.6 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4033, allocations: 4 kB / 1.343 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4033, allocations: 38.56 kB / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.4033, allocations: 0 / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.006017/0.4093, allocations: 1.42 MB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4094, allocations: 85.09 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.4098, allocations: 324 kB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.4099, allocations: 33.64 kB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.41, allocations: 272 kB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4101, allocations: 103.2 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4103, allocations: 90.14 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4105, allocations: 342.8 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.4108, allocations: 202.8 kB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.4114, allocations: 359.9 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.4122, allocations: 0.567 MB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4122, allocations: 4 kB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003216/0.4154, allocations: 1.006 MB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4154, allocations: 4 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.4155, allocations: 11.94 kB / 1.347 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/0.4186, allocations: 0.5752 MB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.4191, allocations: 99.81 kB / 1.348 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.4257, allocations: 3.903 MB / 1.352 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.4263, allocations: 55.83 kB / 1.352 GB, free: 6.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.4263, allocations: 24 kB / 1.352 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005079/0.4268, allocations: 321 kB / 1.352 GB, free: 6.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004858/0.4273, allocations: 337.4 kB / 1.353 GB, free: 5.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00075/0.4281, allocations: 0.5237 MB / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.4281, allocations: 4 kB / 1.353 GB, free: 5.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001412/0.4295, allocations: 0.6665 MB / 1.354 GB, free: 4.664 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4295, allocations: 8 kB / 1.354 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4295, allocations: 4 kB / 1.354 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.4301, allocations: 142 kB / 1.354 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.4305, allocations: 103.8 kB / 1.354 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.4338, allocations: 3.037 MB / 1.357 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.4344, allocations: 55.95 kB / 1.357 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.4344, allocations: 24 kB / 1.357 GB, free: 1.086 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.4347, allocations: 212 kB / 1.357 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.4348, allocations: 31.81 kB / 1.357 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.4367, allocations: 0.6611 MB / 1.358 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4367, allocations: 0 / 1.358 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4367, allocations: 8 kB / 1.358 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.4369, allocations: 59.7 kB / 1.358 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.4369, allocations: 8 kB / 1.358 GB, free: 92 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.4373, allocations: 43.81 kB / 1.358 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.4374, allocations: 31.94 kB / 1.358 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001495/0.4389, allocations: 0.6676 MB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.4399, allocations: 0.7248 MB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002839/0.4402, allocations: 142.5 kB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004167/0.4406, allocations: 227 kB / 1.36 GB, free: 14.24 MB / 1.061 GB Notification: Performance of Backend: time 1.292e-06/0.4406, allocations: 4 kB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004404/0.445, allocations: 1.35 MB / 1.361 GB, free: 12.82 MB / 1.061 GB Notification: Performance of SimCode: time 0.002405/0.4474, allocations: 1.225 MB / 1.362 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Templates: time 0.02127/0.4687, allocations: 11.52 MB / 1.374 GB, free: 132 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.691638265998336]