Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001715/0.001715, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002168/0.002168, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.144/3.144, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [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.002077/0.002077, allocations: 69.36 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01506/0.3097, allocations: 10.7 MB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.3197, allocations: 5.657 MB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.3203, allocations: 75.31 kB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004589/0.3249, allocations: 1.713 MB / 1.345 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.3276, allocations: 1.186 MB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.3296, allocations: 0.8138 MB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.3319, allocations: 2.131 MB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.3333, allocations: 1.025 MB / 1.35 GB, free: 9.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3344, allocations: 0.8835 MB / 1.351 GB, free: 8.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.3357, allocations: 0.9611 MB / 1.352 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3359, allocations: 116 kB / 1.352 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.3377, allocations: 1.068 MB / 1.353 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005984/0.3383, allocations: 0.5491 MB / 1.353 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.3391, allocations: 0.6413 MB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.342, allocations: 2.455 MB / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3421, allocations: 0 / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3421, allocations: 0 / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.3421, allocations: 0 / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003379/0.3455, allocations: 1.852 MB / 1.358 GB, free: 1.055 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3455, allocations: 8.031 kB / 1.358 GB, free: 1.047 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.3501, allocations: 0.6787 MB / 1.359 GB, free: 376 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.3521, allocations: 0.9174 MB / 1.36 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.3521, allocations: 98.89 kB / 1.36 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.3524, allocations: 124.3 kB / 1.36 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.3558, allocations: 2.408 MB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.3559, allocations: 15.83 kB / 1.362 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.356, allocations: 59.97 kB / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.3562, allocations: 166.3 kB / 1.363 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.3593, allocations: 1.859 MB / 1.364 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3708, allocations: 9.2 MB / 1.373 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.3754, allocations: 1.871 MB / 1.375 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.3762, allocations: 0.5503 MB / 1.376 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.3763, allocations: 24.98 kB / 1.376 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3764, allocations: 51.56 kB / 1.376 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.336e-06/0.3764, allocations: 4 kB / 1.376 GB, free: 14.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006115/0.3825, allocations: 3.118 MB / 1.379 GB, free: 11.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3826, allocations: 68.34 kB / 1.379 GB, free: 11.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3836, allocations: 0.8769 MB / 1.38 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.3837, allocations: 45.7 kB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/0.3844, allocations: 0.7572 MB / 1.381 GB, free: 9.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.3848, allocations: 396.6 kB / 1.381 GB, free: 9.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.3853, allocations: 291.4 kB / 1.381 GB, free: 8.801 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3854, allocations: 301.1 kB / 1.381 GB, free: 8.504 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3865, allocations: 0.609 MB / 1.382 GB, free: 7.895 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.388, allocations: 1.113 MB / 1.383 GB, free: 6.566 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.3906, allocations: 1.828 MB / 1.385 GB, free: 4.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3906, allocations: 4 kB / 1.385 GB, free: 4.516 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003519/0.3941, allocations: 2.112 MB / 1.387 GB, free: 2.371 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3942, allocations: 17.97 kB / 1.387 GB, free: 2.355 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.3942, allocations: 16 kB / 1.387 GB, free: 2.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/0.395, allocations: 254.6 kB / 1.387 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3963, allocations: 371.5 kB / 1.388 GB, free: 1.703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4066, allocations: 10.57 MB / 1.398 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.4077, allocations: 131.8 kB / 1.398 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4078, allocations: 71.98 kB / 1.398 GB, free: 6.113 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006739/0.4085, allocations: 409.9 kB / 1.399 GB, free: 5.703 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4087, allocations: 131.2 kB / 1.399 GB, free: 5.574 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.4116, allocations: 1.671 MB / 1.4 GB, free: 3.867 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4116, allocations: 16 kB / 1.4 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4116, allocations: 0 / 1.4 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4116, allocations: 7.969 kB / 1.4 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.4168, allocations: 2.934 MB / 1.403 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4168, allocations: 7.984 kB / 1.403 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.4177, allocations: 223.6 kB / 1.403 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007437/0.4185, allocations: 239 kB / 1.404 GB, free: 304 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/0.4185, allocations: 35.94 kB / 1.404 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009218/0.4278, allocations: 10.55 MB / 1.414 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.4278, allocations: 7.938 kB / 1.414 GB, free: 4.883 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.4306, allocations: 1.792 MB / 1.416 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.4312, allocations: 223.1 kB / 1.416 GB, free: 2.762 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.4314, allocations: 39.89 kB / 1.416 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.4321, allocations: 87.86 kB / 1.416 GB, free: 2.637 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.4323, allocations: 104.7 kB / 1.416 GB, free: 2.535 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.4323, allocations: 40.06 kB / 1.416 GB, free: 2.496 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007572/0.4331, allocations: 0.5647 MB / 1.417 GB, free: 1.922 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4331, allocations: 0 / 1.417 GB, free: 1.922 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001362/0.4345, allocations: 392 kB / 1.417 GB, free: 1.539 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/0.4347, allocations: 147 kB / 1.417 GB, free: 1.387 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003623/0.4383, allocations: 2.402 MB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4383, allocations: 0 / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.4405, allocations: 1.583 MB / 1.421 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.442, allocations: 354.6 kB / 1.421 GB, free: 12.87 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.4464, allocations: 2.795 MB / 1.424 GB, free: 9.969 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.4473, allocations: 0.7371 MB / 1.425 GB, free: 9.195 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008785/0.4482, allocations: 351 kB / 1.425 GB, free: 8.848 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.4484, allocations: 95.42 kB / 1.425 GB, free: 8.758 MB / 1.123 GB Notification: Performance of SimCode: time 8.52e-07/0.4484, allocations: 0 / 1.425 GB, free: 8.758 MB / 1.123 GB Notification: Performance of Templates: time 0.03306/0.4815, allocations: 19.51 MB / 1.444 GB, free: 5.582 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.075476878002519]