Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001761/0.001761, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002122/0.002122, allocations: 211.6 kB / 23 MB, free: 4.934 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.002039/0.002039, allocations: 69.42 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.007155/0.3558, allocations: 4.628 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.36, allocations: 2.338 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3601, allocations: 11.94 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3618, allocations: 0.5409 MB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.3625, allocations: 290.6 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.3633, allocations: 355.1 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.364, allocations: 0.5802 MB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.3645, allocations: 307.9 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3649, allocations: 247.2 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.3654, allocations: 311 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.3654, allocations: 36 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3659, allocations: 275.5 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.3661, allocations: 179.5 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.3663, allocations: 187.2 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.3671, allocations: 0.6772 MB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3671, allocations: 4 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3671, allocations: 0 / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3671, allocations: 0 / 1.338 GB, free: 6.051 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.001376/0.3685, allocations: 0.6688 MB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3686, allocations: 12.03 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.3699, allocations: 160.4 kB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.3704, allocations: 274.8 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3705, allocations: 29.31 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.3706, allocations: 32.38 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3717, allocations: 0.7581 MB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3717, allocations: 3.953 kB / 1.34 GB, free: 3.984 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.3718, allocations: 20 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-05/0.3719, allocations: 40.62 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.3728, allocations: 498.1 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.3766, allocations: 2.653 MB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.3775, allocations: 376.8 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.3777, allocations: 154.5 kB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3778, allocations: 4 kB / 1.343 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3778, allocations: 34.55 kB / 1.343 GB, free: 80 kB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 3.788e-06/0.3778, allocations: 7.984 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.006121/0.3839, allocations: 1.421 MB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.384, allocations: 85.11 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.3844, allocations: 328 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3844, allocations: 29.7 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3846, allocations: 264 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3847, allocations: 99.16 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3849, allocations: 98.12 kB / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3851, allocations: 338.8 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.3854, allocations: 202.7 kB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.3859, allocations: 361.5 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.3868, allocations: 0.5632 MB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3868, allocations: 4 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003265/0.39, allocations: 1.002 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3901, allocations: 8.438 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3901, allocations: 19.88 kB / 1.348 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.3933, allocations: 0.5673 MB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3938, allocations: 99.88 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.4005, allocations: 3.901 MB / 1.352 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.4011, allocations: 55.91 kB / 1.352 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.4012, allocations: 27.98 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005347/0.4017, allocations: 317 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004807/0.4022, allocations: 333.5 kB / 1.353 GB, free: 5.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000758/0.403, allocations: 0.5353 MB / 1.354 GB, free: 4.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.403, allocations: 0 / 1.354 GB, free: 4.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001433/0.4044, allocations: 0.6666 MB / 1.354 GB, free: 4.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4044, allocations: 8 kB / 1.354 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4044, allocations: 8 kB / 1.354 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.405, allocations: 137.9 kB / 1.354 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.4054, allocations: 99.81 kB / 1.355 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.4086, allocations: 3.045 MB / 1.358 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.4092, allocations: 51.83 kB / 1.358 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.4093, allocations: 27.98 kB / 1.358 GB, free: 0.6133 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.0003246/0.4096, allocations: 217.3 kB / 1.358 GB, free: 404 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4097, allocations: 31.81 kB / 1.358 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.4117, allocations: 0.6572 MB / 1.358 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4117, allocations: 0 / 1.358 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4117, allocations: 0 / 1.358 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.4119, allocations: 71.7 kB / 1.359 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.4119, allocations: 8 kB / 1.359 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.4123, allocations: 43.88 kB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.4124, allocations: 27.89 kB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001369/0.4138, allocations: 0.6598 MB / 1.359 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008817/0.4147, allocations: 0.7365 MB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002229/0.4149, allocations: 146.4 kB / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003015/0.4152, allocations: 223 kB / 1.36 GB, free: 13.76 MB / 1.061 GB Notification: Performance of Backend: time 5.41e-07/0.4152, allocations: 0 / 1.36 GB, free: 13.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003314/0.4185, allocations: 1.363 MB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of SimCode: time 0.001596/0.4201, allocations: 1.226 MB / 1.363 GB, free: 11.07 MB / 1.061 GB Notification: Performance of Templates: time 0.01955/0.4396, allocations: 11.52 MB / 1.374 GB, free: 15.64 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.510864087002119]