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.001384/0.001384, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001428/0.001428, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.46/1.46, allocations: 230.6 MB / 252.8 MB, free: 9.156 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.151/3.151, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 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.002087/0.002087, allocations: 73.52 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01475/0.3502, allocations: 11.29 MB / 1.332 GB, free: 7.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009991/0.3602, allocations: 5.882 MB / 1.338 GB, free: 1.578 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/0.3612, allocations: 71.38 kB / 1.338 GB, free: 1.508 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004699/0.3659, allocations: 1.749 MB / 1.34 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.3689, allocations: 1.178 MB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.371, allocations: 0.8146 MB / 1.342 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.3738, allocations: 2.119 MB / 1.344 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3753, allocations: 1.041 MB / 1.345 GB, free: 10.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3766, allocations: 0.8796 MB / 1.346 GB, free: 9.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.3779, allocations: 0.965 MB / 1.347 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.378, allocations: 115.9 kB / 1.347 GB, free: 8.598 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.3803, allocations: 1.201 MB / 1.348 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000584/0.3808, allocations: 0.5491 MB / 1.348 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008373/0.3817, allocations: 0.781 MB / 1.349 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.385, allocations: 2.44 MB / 1.352 GB, free: 3.609 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.385, allocations: 4 kB / 1.352 GB, free: 3.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.385, allocations: 0 / 1.352 GB, free: 3.605 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.385, allocations: 0 / 1.352 GB, free: 3.605 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.003241/0.3882, allocations: 1.923 MB / 1.353 GB, free: 1.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3883, allocations: 15.98 kB / 1.353 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.393, allocations: 0.667 MB / 1.354 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.3948, allocations: 1.017 MB / 1.355 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.3949, allocations: 94.89 kB / 1.355 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.3951, allocations: 128.3 kB / 1.355 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.3985, allocations: 2.206 MB / 1.358 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.3985, allocations: 11.89 kB / 1.358 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.3987, allocations: 63.97 kB / 1.358 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.3989, allocations: 166.2 kB / 1.358 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.402, allocations: 1.863 MB / 1.36 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.4197, allocations: 12.46 MB / 1.372 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00663/0.4264, allocations: 1.866 MB / 1.374 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4278, allocations: 0.562 MB / 1.374 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.428, allocations: 106.1 kB / 1.374 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.4281, allocations: 39.56 kB / 1.374 GB, free: 11.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 4.919e-06/0.4281, allocations: 0 / 1.374 GB, free: 11.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.00894/0.437, allocations: 3.74 MB / 1.378 GB, free: 7.195 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4371, allocations: 60.41 kB / 1.378 GB, free: 7.121 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.4385, allocations: 0.9244 MB / 1.379 GB, free: 6.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.4386, allocations: 41.7 kB / 1.379 GB, free: 6.133 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4392, allocations: 0.7572 MB / 1.38 GB, free: 5.367 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.4396, allocations: 400.6 kB / 1.38 GB, free: 4.973 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.4401, allocations: 287.4 kB / 1.38 GB, free: 4.688 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4402, allocations: 305.1 kB / 1.381 GB, free: 4.387 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4412, allocations: 0.6129 MB / 1.381 GB, free: 3.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.4427, allocations: 1.106 MB / 1.382 GB, free: 2.453 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.4453, allocations: 1.828 MB / 1.384 GB, free: 420 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.4453, allocations: 4 kB / 1.384 GB, free: 416 kB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003882/0.4492, allocations: 2.104 MB / 1.386 GB, free: 14.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4492, allocations: 12 kB / 1.386 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.4493, allocations: 23.92 kB / 1.386 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008943/0.4501, allocations: 259 kB / 1.386 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4515, allocations: 375.4 kB / 1.387 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.462, allocations: 11.59 MB / 1.398 GB, free: 0.875 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4634, allocations: 123.8 kB / 1.398 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.4636, allocations: 75.92 kB / 1.398 GB, free: 0.6797 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.0008119/0.4644, allocations: 409.2 kB / 1.399 GB, free: 276 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.4647, allocations: 135.2 kB / 1.399 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.4681, allocations: 1.677 MB / 1.4 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4681, allocations: 12 kB / 1.4 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4681, allocations: 4 kB / 1.4 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4681, allocations: 11.97 kB / 1.4 GB, free: 14.4 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.4744, allocations: 3.276 MB / 1.404 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4744, allocations: 4 kB / 1.404 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/0.4754, allocations: 227.7 kB / 1.404 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/0.4762, allocations: 242.6 kB / 1.404 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.4763, allocations: 31.94 kB / 1.404 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.4872, allocations: 11.58 MB / 1.415 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.4872, allocations: 11.94 kB / 1.415 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.4909, allocations: 1.796 MB / 1.417 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/0.4918, allocations: 320 kB / 1.417 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.4922, allocations: 28 kB / 1.418 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.4932, allocations: 87.86 kB / 1.418 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.4935, allocations: 104.7 kB / 1.418 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/0.4936, allocations: 32 kB / 1.418 GB, free: 11.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001186/0.4948, allocations: 0.6177 MB / 1.418 GB, free: 10.64 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4948, allocations: 0 / 1.418 GB, free: 10.64 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00172/0.4965, allocations: 392 kB / 1.419 GB, free: 10.26 MB / 1.123 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.0003364/0.4968, allocations: 155.7 kB / 1.419 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004341/0.5012, allocations: 2.399 MB / 1.421 GB, free: 7.598 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.5012, allocations: 4 kB / 1.421 GB, free: 7.594 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.5036, allocations: 1.582 MB / 1.423 GB, free: 5.906 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.5056, allocations: 366 kB / 1.423 GB, free: 5.559 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.5109, allocations: 2.781 MB / 1.426 GB, free: 2.676 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.5121, allocations: 1.327 MB / 1.427 GB, free: 1.316 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001026/0.5131, allocations: 355.3 kB / 1.427 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.5135, allocations: 95.42 kB / 1.428 GB, free: 0.875 MB / 1.123 GB Notification: Performance of SimCode: time 1.423e-06/0.5135, allocations: 0 / 1.428 GB, free: 0.875 MB / 1.123 GB Notification: Performance of Templates: time 0.03476/0.5482, allocations: 17.66 MB / 1.445 GB, free: 15.39 MB / 1.154 GB " [Timeout remaining time 299] 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 -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/jenkins/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.3324846602045]