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.000949/0.000949, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009733/0.0009733, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.966/0.966, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.843/1.843, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|sen_D.S.[0-9,]+.|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.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.503e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006329/0.006344, allocations: 6.831 MB / 0.8182 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.009185, allocations: 2.445 MB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.009566, allocations: 67.38 kB / 0.8207 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.01022, allocations: 337.3 kB / 0.821 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01125, allocations: 0.8623 MB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.01195, allocations: 0.5618 MB / 0.8224 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.01373, allocations: 2.209 MB / 0.8245 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.01476, allocations: 1.026 MB / 0.8255 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.01597, allocations: 1.205 MB / 0.8267 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008067/0.01677, allocations: 0.8292 MB / 0.8275 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.01691, allocations: 112 kB / 0.8276 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.01726, allocations: 243.7 kB / 0.8279 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.01762, allocations: 0.5686 MB / 0.8284 GB, free: 436 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.01807, allocations: 0.5377 MB / 0.8289 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.0191, allocations: 1.307 MB / 0.8302 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01911, allocations: 2.094 kB / 0.8302 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01911, allocations: 0 / 0.8302 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.01913, allocations: 4 kB / 0.8302 GB, free: 14.57 MB / 0.7917 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.00159/0.02071, allocations: 1.81 MB / 0.832 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.02075, allocations: 12.03 kB / 0.832 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.02317, allocations: 0.9728 MB / 0.833 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.02423, allocations: 0.9656 MB / 0.8339 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.02428, allocations: 98.89 kB / 0.834 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.02443, allocations: 132.3 kB / 0.8341 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.02596, allocations: 1.831 MB / 0.8359 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.02599, allocations: 24.02 kB / 0.8359 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.02608, allocations: 64.33 kB / 0.836 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.02621, allocations: 170.2 kB / 0.8362 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.02736, allocations: 0.8291 MB / 0.837 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006026/0.03338, allocations: 11.46 MB / 0.8482 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.0355, allocations: 1.573 MB / 0.8497 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.0358, allocations: 214.6 kB / 0.8499 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.03588, allocations: 28.98 kB / 0.8499 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.03591, allocations: 46.39 kB / 0.85 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=103): time 2.254e-06/0.03591, allocations: 0 / 0.85 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.002444/0.03835, allocations: 1.778 MB / 0.8517 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.03838, allocations: 60.41 kB / 0.8518 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.03899, allocations: 0.8598 MB / 0.8526 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.03903, allocations: 41.7 kB / 0.8526 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.03936, allocations: 0.8028 MB / 0.8534 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.03955, allocations: 404.6 kB / 0.8538 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.0398, allocations: 289 kB / 0.8541 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.03991, allocations: 480.7 kB / 0.8545 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.04027, allocations: 271.8 kB / 0.8548 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.04092, allocations: 0.9737 MB / 0.8558 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.042, allocations: 1.341 MB / 0.8571 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.04201, allocations: 11.94 kB / 0.8571 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001601/0.04361, allocations: 1.462 MB / 0.8585 GB, free: 64 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.04363, allocations: 12 kB / 0.8585 GB, free: 52 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.04364, allocations: 16 kB / 0.8585 GB, free: 36 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.04414, allocations: 226.1 kB / 0.8588 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.04481, allocations: 375.4 kB / 0.8591 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.05029, allocations: 14 MB / 0.8728 GB, free: 440 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.0508, allocations: 123.8 kB / 0.8729 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.05086, allocations: 71.98 kB / 0.873 GB, free: 244 kB / 0.823 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.0002521/0.05111, allocations: 264.2 kB / 0.8732 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.05125, allocations: 159.2 kB / 0.8734 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.05242, allocations: 0.987 MB / 0.8743 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.05243, allocations: 12 kB / 0.8744 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.05243, allocations: 0 / 0.8744 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.05244, allocations: 3.984 kB / 0.8744 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.05497, allocations: 2.131 MB / 0.8764 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.05498, allocations: 8.625 kB / 0.8764 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.05541, allocations: 223.6 kB / 0.8767 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.05578, allocations: 217.3 kB / 0.8769 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.05583, allocations: 32 kB / 0.8769 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/0.06112, allocations: 13.98 MB / 0.8905 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.06113, allocations: 7.938 kB / 0.8906 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.06232, allocations: 1.275 MB / 0.8918 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.0626, allocations: 215 kB / 0.892 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.06268, allocations: 31.98 kB / 0.892 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.06302, allocations: 91.88 kB / 0.8921 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.06313, allocations: 100.6 kB / 0.8922 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.06317, allocations: 36 kB / 0.8923 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003824/0.06355, allocations: 0.5139 MB / 0.8928 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.06355, allocations: 0 / 0.8928 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008189/0.06437, allocations: 392 kB / 0.8931 GB, free: 10.2 MB / 0.8542 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.0005387/0.06491, allocations: 143 kB / 0.8933 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.06733, allocations: 2.241 MB / 0.8955 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.06733, allocations: 4.188 kB / 0.8955 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.06873, allocations: 1.745 MB / 0.8972 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.07008, allocations: 355.7 kB / 0.8975 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.07377, allocations: 2.526 MB / 0.9 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.07411, allocations: 369.2 kB / 0.9003 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006854/0.0748, allocations: 287 kB / 0.9006 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.07503, allocations: 92.48 kB / 0.9007 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of SimCode: time 1.463e-06/0.07504, allocations: 4 kB / 0.9007 GB, free: 2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02587/0.1009, allocations: 17.48 MB / 0.9178 GB, free: 0.8867 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6551446369849145]