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.001736/0.001736, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002147/0.002147, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.797 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.399/3.399, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.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.003109/0.003109, allocations: 75.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3717, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01574/0.3875, allocations: 10.69 MB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3985, allocations: 5.661 MB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.3998, allocations: 75.31 kB / 1.342 GB, free: 1.336 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00511/0.405, allocations: 1.715 MB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.4089, allocations: 1.186 MB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.4118, allocations: 0.8184 MB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.4153, allocations: 2.123 MB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.4172, allocations: 1.021 MB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.419, allocations: 0.8796 MB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.4209, allocations: 0.8985 MB / 1.35 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.4213, allocations: 116 kB / 1.35 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.4238, allocations: 1.064 MB / 1.351 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008314/0.4246, allocations: 0.5413 MB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4259, allocations: 0.6452 MB / 1.352 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.4303, allocations: 2.448 MB / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4303, allocations: 0 / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4303, allocations: 0 / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.228e-05/0.4304, allocations: 7.938 kB / 1.355 GB, free: 3.801 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.004247/0.4346, allocations: 1.84 MB / 1.357 GB, free: 1.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4347, allocations: 8.031 kB / 1.357 GB, free: 1.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.4393, allocations: 0.6787 MB / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.4418, allocations: 0.9252 MB / 1.358 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.4419, allocations: 94.89 kB / 1.358 GB, free: 188 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.4423, allocations: 124.3 kB / 1.358 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.4467, allocations: 2.408 MB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.4467, allocations: 19.77 kB / 1.361 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.4469, allocations: 67.95 kB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.4472, allocations: 162.3 kB / 1.361 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.4507, allocations: 1.859 MB / 1.363 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.4633, allocations: 9.192 MB / 1.372 GB, free: 1.789 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.4679, allocations: 1.874 MB / 1.374 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/0.4688, allocations: 0.5581 MB / 1.374 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.4689, allocations: 20.94 kB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.469, allocations: 55.48 kB / 1.374 GB, free: 15.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/0.469, allocations: 0 / 1.374 GB, free: 15.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006404/0.4754, allocations: 3.126 MB / 1.377 GB, free: 12.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.4754, allocations: 64.34 kB / 1.377 GB, free: 12.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.4767, allocations: 0.8769 MB / 1.378 GB, free: 11.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.4767, allocations: 41.7 kB / 1.378 GB, free: 11.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.4773, allocations: 0.7533 MB / 1.379 GB, free: 10.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.4777, allocations: 412.6 kB / 1.379 GB, free: 9.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.4781, allocations: 283.4 kB / 1.38 GB, free: 9.648 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4783, allocations: 305.1 kB / 1.38 GB, free: 9.348 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4793, allocations: 0.6129 MB / 1.38 GB, free: 8.734 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4807, allocations: 1.102 MB / 1.382 GB, free: 7.418 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.4832, allocations: 1.828 MB / 1.383 GB, free: 5.371 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.4832, allocations: 12 kB / 1.383 GB, free: 5.359 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003713/0.487, allocations: 2.097 MB / 1.385 GB, free: 3.234 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.487, allocations: 18.09 kB / 1.385 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.487, allocations: 16 kB / 1.385 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.4879, allocations: 262.6 kB / 1.386 GB, free: 2.922 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.4892, allocations: 371.4 kB / 1.386 GB, free: 2.559 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009439/0.4987, allocations: 10.57 MB / 1.396 GB, free: 7.164 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5, allocations: 123.8 kB / 1.396 GB, free: 7.043 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.5002, allocations: 71.98 kB / 1.397 GB, free: 6.973 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.0008634/0.5011, allocations: 407.3 kB / 1.397 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.5014, allocations: 127.2 kB / 1.397 GB, free: 6.441 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.5045, allocations: 1.679 MB / 1.399 GB, free: 4.723 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5045, allocations: 12 kB / 1.399 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5045, allocations: 8 kB / 1.399 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5045, allocations: 3.984 kB / 1.399 GB, free: 4.699 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.5102, allocations: 2.942 MB / 1.402 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.5102, allocations: 8 kB / 1.402 GB, free: 1.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.5111, allocations: 219.6 kB / 1.402 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007661/0.5119, allocations: 246.9 kB / 1.402 GB, free: 1.141 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.512, allocations: 27.94 kB / 1.402 GB, free: 1.113 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009217/0.5212, allocations: 10.54 MB / 1.412 GB, free: 5.746 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.5212, allocations: 16 kB / 1.412 GB, free: 5.73 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.5243, allocations: 1.792 MB / 1.414 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.5251, allocations: 227.1 kB / 1.414 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.5254, allocations: 27.92 kB / 1.414 GB, free: 3.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.5262, allocations: 91.88 kB / 1.414 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.5264, allocations: 100.7 kB / 1.415 GB, free: 3.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.5265, allocations: 36 kB / 1.415 GB, free: 3.355 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009084/0.5274, allocations: 0.5726 MB / 1.415 GB, free: 2.773 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5274, allocations: 3.938 kB / 1.415 GB, free: 2.77 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001618/0.529, allocations: 391.9 kB / 1.415 GB, free: 2.387 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.0002784/0.5293, allocations: 143 kB / 1.416 GB, free: 2.238 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003884/0.5331, allocations: 2.406 MB / 1.418 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5331, allocations: 4 kB / 1.418 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.5354, allocations: 1.579 MB / 1.42 GB, free: 14.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.5372, allocations: 348.2 kB / 1.42 GB, free: 13.72 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.5428, allocations: 2.801 MB / 1.423 GB, free: 10.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.544, allocations: 0.7332 MB / 1.423 GB, free: 10.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001086/0.5451, allocations: 351 kB / 1.424 GB, free: 9.699 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.5454, allocations: 95.42 kB / 1.424 GB, free: 9.605 MB / 1.123 GB Notification: Performance of SimCode: time 8.22e-07/0.5454, allocations: 0 / 1.424 GB, free: 9.605 MB / 1.123 GB Notification: Performance of Templates: time 0.03513/0.5806, allocations: 19.03 MB / 1.442 GB, free: 6.918 MB / 1.139 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: 10.118597105145454]