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.001007/0.001007, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001004/0.001004, allocations: 165 kB / 24.16 MB, free: 332 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.9777/0.9777, allocations: 177.2 MB / 204.6 MB, free: 5.125 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.88/1.88, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.573e-06/1.573e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.266e-05, allocations: 6.312 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006119/0.006152, allocations: 6.714 MB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.01018, allocations: 2.505 MB / 0.769 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.01073, allocations: 71.31 kB / 0.7691 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.01142, allocations: 335.6 kB / 0.7694 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01271, allocations: 0.8613 MB / 0.7702 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.01354, allocations: 0.5696 MB / 0.7708 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.01546, allocations: 2.205 MB / 0.773 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008228/0.01628, allocations: 1.076 MB / 0.774 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.01747, allocations: 1.217 MB / 0.7752 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.0182, allocations: 0.8387 MB / 0.776 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.0183, allocations: 112 kB / 0.7761 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.01863, allocations: 247.6 kB / 0.7764 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.01895, allocations: 0.5608 MB / 0.7769 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.01931, allocations: 0.526 MB / 0.7774 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009017/0.02021, allocations: 1.292 MB / 0.7787 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.02021, allocations: 0 / 0.7787 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02021, allocations: 0 / 0.7787 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.02023, allocations: 0 / 0.7787 GB, free: 3.441 MB / 0.7292 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.001434/0.02166, allocations: 1.653 MB / 0.7803 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.02169, allocations: 8.938 kB / 0.7803 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.02359, allocations: 0.7218 MB / 0.781 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.02476, allocations: 0.8809 MB / 0.7819 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.02481, allocations: 94.89 kB / 0.782 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.02496, allocations: 132.3 kB / 0.7821 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.02609, allocations: 1.584 MB / 0.7836 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.02612, allocations: 8.125 kB / 0.7836 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.0262, allocations: 64.33 kB / 0.7837 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.02633, allocations: 170.2 kB / 0.7839 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.02699, allocations: 0.5945 MB / 0.7844 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.03183, allocations: 7.812 MB / 0.7921 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.03347, allocations: 1.345 MB / 0.7934 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.03366, allocations: 159.8 kB / 0.7935 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.03373, allocations: 29.7 kB / 0.7936 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.03376, allocations: 43.56 kB / 0.7936 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=103): time 2.345e-06/0.03376, allocations: 0.6875 kB / 0.7936 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.001752/0.03551, allocations: 1.249 MB / 0.7948 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.03554, allocations: 66.06 kB / 0.7949 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.03599, allocations: 0.7886 MB / 0.7957 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.03604, allocations: 45.7 kB / 0.7957 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.03658, allocations: 0.6613 MB / 0.7964 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.03676, allocations: 396.5 kB / 0.7967 GB, free: 308 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.03699, allocations: 267.9 kB / 0.797 GB, free: 32 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.03706, allocations: 310 kB / 0.7973 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.03725, allocations: 171.9 kB / 0.7974 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.03766, allocations: 0.6799 MB / 0.7981 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.03839, allocations: 1.001 MB / 0.7991 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.03839, allocations: 4.844 kB / 0.7991 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001079/0.03947, allocations: 1.059 MB / 0.8001 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.0395, allocations: 12 kB / 0.8001 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.03951, allocations: 24.58 kB / 0.8002 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.03993, allocations: 223.4 kB / 0.8004 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.0405, allocations: 313 kB / 0.8007 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.04471, allocations: 9.555 MB / 0.81 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.04509, allocations: 44 kB / 0.81 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.04514, allocations: 59.98 kB / 0.8101 GB, free: 1.371 MB / 0.7605 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.0002294/0.04537, allocations: 218 kB / 0.8103 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.04549, allocations: 119.8 kB / 0.8104 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.04633, allocations: 0.7739 MB / 0.8112 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.04633, allocations: 8 kB / 0.8112 GB, free: 220 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.04633, allocations: 8.594 kB / 0.8112 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.04634, allocations: 3.984 kB / 0.8112 GB, free: 208 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.048, allocations: 1.573 MB / 0.8127 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.048, allocations: 8 kB / 0.8127 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.04835, allocations: 167.7 kB / 0.8129 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.04869, allocations: 206.9 kB / 0.8131 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.04872, allocations: 29 kB / 0.8131 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.05261, allocations: 9.541 MB / 0.8224 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.05261, allocations: 8.188 kB / 0.8225 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.05369, allocations: 0.944 MB / 0.8234 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.05391, allocations: 179 kB / 0.8235 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.05399, allocations: 28 kB / 0.8236 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.05424, allocations: 32 kB / 0.8236 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.05434, allocations: 96.7 kB / 0.8237 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.05437, allocations: 28 kB / 0.8237 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002349/0.05461, allocations: 368.4 kB / 0.8241 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.05461, allocations: 0 / 0.8241 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007703/0.05538, allocations: 395.9 kB / 0.8244 GB, free: 1.598 MB / 0.7761 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.0001625/0.05554, allocations: 128.1 kB / 0.8246 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.05674, allocations: 1.642 MB / 0.8262 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/0.05676, allocations: 17.81 kB / 0.8262 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.05748, allocations: 1.238 MB / 0.8274 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.05826, allocations: 359 kB / 0.8277 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.06097, allocations: 2.465 MB / 0.8302 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.06121, allocations: 357.3 kB / 0.8305 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003755/0.06159, allocations: 179.2 kB / 0.8307 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.06208, allocations: 329.1 kB / 0.831 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of SimCode: time 6.82e-07/0.06208, allocations: 0 / 0.831 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of Templates: time 0.02046/0.08254, allocations: 18.59 MB / 0.8491 GB, free: 8.301 MB / 0.8073 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.416924326214939]