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.001371/0.001371, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001638/0.001638, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9489/0.9489, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.869/1.869, allocations: 377.9 MB / 0.6239 GB, free: 8.438 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.533e-06/1.533e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.522e-05, allocations: 8.781 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005451/0.005466, allocations: 6.703 MB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.008254, allocations: 2.44 MB / 0.8209 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.008586, allocations: 71.31 kB / 0.821 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.009192, allocations: 334.8 kB / 0.8213 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01033, allocations: 0.8579 MB / 0.8222 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.01091, allocations: 0.5757 MB / 0.8227 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.01223, allocations: 2.205 MB / 0.8249 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007808/0.01301, allocations: 1.018 MB / 0.8259 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000873/0.01388, allocations: 1.216 MB / 0.8271 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.01461, allocations: 0.8587 MB / 0.8279 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.01472, allocations: 120 kB / 0.828 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.01503, allocations: 240.2 kB / 0.8282 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.01556, allocations: 0.5621 MB / 0.8288 GB, free: 260 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.01591, allocations: 0.5298 MB / 0.8293 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008767/0.01679, allocations: 1.292 MB / 0.8306 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01679, allocations: 0 / 0.8306 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.52e-07/0.01679, allocations: 0.5938 kB / 0.8306 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.0168, allocations: 0.8125 kB / 0.8306 GB, free: 14.43 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.001405/0.0182, allocations: 1.824 MB / 0.8323 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.01824, allocations: 8.031 kB / 0.8324 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.02012, allocations: 0.7561 MB / 0.8331 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.02098, allocations: 0.9128 MB / 0.834 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.02103, allocations: 94.89 kB / 0.8341 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.02115, allocations: 140.3 kB / 0.8342 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.02258, allocations: 1.729 MB / 0.8359 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.02261, allocations: 12.06 kB / 0.8359 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.02269, allocations: 68.33 kB / 0.836 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.0228, allocations: 166.2 kB / 0.8361 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.0235, allocations: 0.6801 MB / 0.8368 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00567/0.02917, allocations: 11.09 MB / 0.8476 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.03083, allocations: 1.368 MB / 0.849 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.03104, allocations: 174.6 kB / 0.8491 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.03112, allocations: 32.98 kB / 0.8492 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.03115, allocations: 50.38 kB / 0.8492 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=103): time 2.184e-06/0.03115, allocations: 0 / 0.8492 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.002118/0.03326, allocations: 1.443 MB / 0.8506 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.03329, allocations: 64.41 kB / 0.8507 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.03378, allocations: 0.8591 MB / 0.8515 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.03382, allocations: 41.7 kB / 0.8516 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.03414, allocations: 0.7988 MB / 0.8523 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.03433, allocations: 412.5 kB / 0.8527 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.03456, allocations: 285 kB / 0.853 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.03465, allocations: 484.7 kB / 0.8535 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.03487, allocations: 211.8 kB / 0.8537 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.03537, allocations: 0.911 MB / 0.8546 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.0362, allocations: 1.235 MB / 0.8558 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.0362, allocations: 4 kB / 0.8558 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001503/0.03771, allocations: 1.314 MB / 0.8571 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.03773, allocations: 15.94 kB / 0.8571 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.03774, allocations: 16 kB / 0.8571 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.03813, allocations: 230 kB / 0.8573 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.03869, allocations: 315.5 kB / 0.8576 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.04417, allocations: 13.81 MB / 0.8711 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.04456, allocations: 47.94 kB / 0.8711 GB, free: 2.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.04462, allocations: 59.98 kB / 0.8712 GB, free: 2.34 MB / 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.0002425/0.04486, allocations: 260.1 kB / 0.8714 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.045, allocations: 159.2 kB / 0.8716 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/0.04599, allocations: 0.905 MB / 0.8725 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.04599, allocations: 12 kB / 0.8725 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.046, allocations: 4 kB / 0.8725 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.046, allocations: 3.984 kB / 0.8725 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.04798, allocations: 1.853 MB / 0.8743 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.04799, allocations: 4 kB / 0.8743 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.04834, allocations: 171.8 kB / 0.8745 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.04869, allocations: 205.3 kB / 0.8747 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.04873, allocations: 28 kB / 0.8747 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/0.05449, allocations: 13.8 MB / 0.8882 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.05449, allocations: 11.88 kB / 0.8882 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.05555, allocations: 1.189 MB / 0.8893 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.0558, allocations: 203 kB / 0.8895 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.05587, allocations: 35.89 kB / 0.8896 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.05613, allocations: 23.98 kB / 0.8896 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.05624, allocations: 100.7 kB / 0.8897 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.05628, allocations: 28 kB / 0.8897 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002978/0.05658, allocations: 482.1 kB / 0.8902 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.05658, allocations: 0 / 0.8902 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009229/0.0575, allocations: 399.9 kB / 0.8906 GB, free: 13.19 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.0002327/0.05773, allocations: 144.7 kB / 0.8907 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.05989, allocations: 2.136 MB / 0.8928 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.05989, allocations: 0 / 0.8928 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.06084, allocations: 1.695 MB / 0.8944 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/0.06175, allocations: 353.2 kB / 0.8948 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.06435, allocations: 2.501 MB / 0.8972 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.06458, allocations: 361.2 kB / 0.8976 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006555/0.06524, allocations: 183.2 kB / 0.8977 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.06578, allocations: 370 kB / 0.8981 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.06578, allocations: 0 / 0.8981 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.02133/0.08711, allocations: 18.62 MB / 0.9163 GB, free: 2.746 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.468133820220828]