Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009784/0.0009784, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009442/0.0009442, allocations: 181.3 kB / 23.36 MB, free: 1.133 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.9021/0.9021, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.345/2.345, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.185e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005524/0.005546, allocations: 6.699 MB / 0.8451 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.009281, allocations: 2.513 MB / 0.8476 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.009765, allocations: 71.31 kB / 0.8476 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.01043, allocations: 333.4 kB / 0.848 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.01165, allocations: 0.8659 MB / 0.8488 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.01244, allocations: 0.5576 MB / 0.8494 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.01413, allocations: 2.209 MB / 0.8515 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009908/0.01512, allocations: 1.072 MB / 0.8526 GB, free: 15.88 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.01625, allocations: 1.22 MB / 0.8538 GB, free: 14.66 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007983/0.01705, allocations: 0.8374 MB / 0.8546 GB, free: 13.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.01718, allocations: 112 kB / 0.8547 GB, free: 13.71 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.0175, allocations: 243.7 kB / 0.8549 GB, free: 13.47 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.01783, allocations: 0.5647 MB / 0.8555 GB, free: 12.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.01822, allocations: 0.5338 MB / 0.856 GB, free: 12.37 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.01914, allocations: 1.28 MB / 0.8572 GB, free: 11.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01914, allocations: 0 / 0.8572 GB, free: 11.08 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01914, allocations: 0 / 0.8572 GB, free: 11.08 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.01916, allocations: 0 / 0.8572 GB, free: 11.08 MB / 0.823 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.001412/0.02057, allocations: 1.66 MB / 0.8589 GB, free: 9.387 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.0206, allocations: 8.625 kB / 0.8589 GB, free: 9.379 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.02261, allocations: 0.7257 MB / 0.8596 GB, free: 8.652 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.02352, allocations: 0.8792 MB / 0.8604 GB, free: 7.742 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.02357, allocations: 90.91 kB / 0.8605 GB, free: 7.652 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.0237, allocations: 128.3 kB / 0.8606 GB, free: 7.527 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.02484, allocations: 1.596 MB / 0.8622 GB, free: 5.656 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.02487, allocations: 12.06 kB / 0.8622 GB, free: 5.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.02495, allocations: 60.34 kB / 0.8623 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.02509, allocations: 166.2 kB / 0.8624 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.02579, allocations: 0.5972 MB / 0.863 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.03054, allocations: 7.808 MB / 0.8706 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.03224, allocations: 1.34 MB / 0.8719 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.03244, allocations: 163.7 kB / 0.8721 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.0325, allocations: 32.98 kB / 0.8721 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.03253, allocations: 39.56 kB / 0.8722 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.995e-06/0.03253, allocations: 3.984 kB / 0.8722 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.001751/0.03428, allocations: 1.254 MB / 0.8734 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.03431, allocations: 68.34 kB / 0.8735 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.03475, allocations: 0.7886 MB / 0.8742 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.0348, allocations: 41.7 kB / 0.8743 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.03505, allocations: 0.6652 MB / 0.8749 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.03523, allocations: 404.5 kB / 0.8753 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.03545, allocations: 267.3 kB / 0.8756 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.03551, allocations: 309.1 kB / 0.8759 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.03571, allocations: 175.9 kB / 0.876 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.03611, allocations: 0.676 MB / 0.8767 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.03685, allocations: 1.002 MB / 0.8777 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.03685, allocations: 4 kB / 0.8777 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001058/0.03791, allocations: 1.056 MB / 0.8787 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.03793, allocations: 16 kB / 0.8787 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.03794, allocations: 19.94 kB / 0.8787 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.03851, allocations: 221.3 kB / 0.8789 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.03924, allocations: 307.5 kB / 0.8792 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.04343, allocations: 9.555 MB / 0.8886 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.04414, allocations: 44 kB / 0.8886 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.04421, allocations: 60.2 kB / 0.8887 GB, free: 8.879 MB / 0.8542 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.0003052/0.04452, allocations: 216 kB / 0.8889 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.04465, allocations: 119.8 kB / 0.889 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009476/0.0456, allocations: 0.7789 MB / 0.8897 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.0456, allocations: 8 kB / 0.8898 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.04561, allocations: 7.938 kB / 0.8898 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.04562, allocations: 3.984 kB / 0.8898 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.04759, allocations: 1.572 MB / 0.8913 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.0476, allocations: 8 kB / 0.8913 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.04796, allocations: 159.8 kB / 0.8915 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.04831, allocations: 205.8 kB / 0.8917 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.04835, allocations: 35.98 kB / 0.8917 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.05208, allocations: 9.546 MB / 0.901 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.05208, allocations: 4 kB / 0.901 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009263/0.05301, allocations: 0.9517 MB / 0.9019 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.05327, allocations: 175 kB / 0.9021 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.05335, allocations: 28 kB / 0.9021 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.05362, allocations: 24 kB / 0.9022 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.05375, allocations: 104.7 kB / 0.9023 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.05379, allocations: 28 kB / 0.9023 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002635/0.05405, allocations: 372.4 kB / 0.9026 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.05405, allocations: 0 / 0.9026 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009563/0.05501, allocations: 395.9 kB / 0.903 GB, free: 9.059 MB / 0.8698 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.0001922/0.0552, allocations: 124.2 kB / 0.9031 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.05684, allocations: 1.635 MB / 0.9047 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.736e-05/0.05687, allocations: 17.81 kB / 0.9048 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.05802, allocations: 1.233 MB / 0.906 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.05918, allocations: 363.4 kB / 0.9063 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.06206, allocations: 2.45 MB / 0.9087 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.06232, allocations: 365.3 kB / 0.909 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004185/0.06274, allocations: 187.1 kB / 0.9092 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.06325, allocations: 321.1 kB / 0.9095 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/0.06325, allocations: 0 / 0.9095 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of Templates: time 0.02254/0.08579, allocations: 18.61 MB / 0.9277 GB, free: 15.75 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.549518753308803]