Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001489/0.001489, 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.001795/0.001795, 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 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.32 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.835e-05, allocations: 4.281 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00454/0.004558, allocations: 4.859 MB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.007283, allocations: 1.762 MB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.007588, allocations: 43.62 kB / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.008133, allocations: 207.7 kB / 0.7668 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.008782, allocations: 446.6 kB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.009447, allocations: 410 kB / 0.7676 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01055, allocations: 1.271 MB / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.01121, allocations: 0.5777 MB / 0.7694 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007149/0.01192, allocations: 0.6678 MB / 0.77 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.01248, allocations: 486.7 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.01256, allocations: 69.88 kB / 0.7706 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.0128, allocations: 131.9 kB / 0.7707 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.013, allocations: 339 kB / 0.771 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.01323, allocations: 307.3 kB / 0.7713 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.01387, allocations: 0.7435 MB / 0.772 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.01387, allocations: 0.8125 kB / 0.772 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01388, allocations: 0 / 0.772 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.01389, allocations: 0.6562 kB / 0.772 GB, free: 10.31 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001044/0.01493, allocations: 1.032 MB / 0.7731 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01496, allocations: 15.97 kB / 0.7731 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000817/0.01578, allocations: 270.7 kB / 0.7733 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.01635, allocations: 0.5101 MB / 0.7738 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.01638, allocations: 45.67 kB / 0.7739 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.01645, allocations: 77.83 kB / 0.7739 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.01713, allocations: 0.9485 MB / 0.7749 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.01715, allocations: 16.06 kB / 0.7749 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.01719, allocations: 28.36 kB / 0.7749 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.346e-05/0.01728, allocations: 87.55 kB / 0.775 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.0176, allocations: 263 kB / 0.7752 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.02011, allocations: 3.909 MB / 0.7791 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.02049, allocations: 292.1 kB / 0.7793 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.02061, allocations: 98.31 kB / 0.7794 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.02063, allocations: 8.5 kB / 0.7794 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.02066, allocations: 39.06 kB / 0.7795 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.02066, allocations: 0 / 0.7795 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001411/0.02207, allocations: 0.8057 MB / 0.7803 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.02209, allocations: 56.56 kB / 0.7803 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.02237, allocations: 486.8 kB / 0.7808 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.0224, allocations: 35.58 kB / 0.7808 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.02255, allocations: 376.8 kB / 0.7812 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.02263, allocations: 178.4 kB / 0.7813 GB, free: 392 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.02275, allocations: 126.5 kB / 0.7815 GB, free: 256 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.02287, allocations: 374.6 kB / 0.7818 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.02296, allocations: 75.06 kB / 0.7819 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.02316, allocations: 293 kB / 0.7822 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.02351, allocations: 448.3 kB / 0.7826 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02351, allocations: 1.375 kB / 0.7826 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000661/0.02417, allocations: 0.565 MB / 0.7832 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.02419, allocations: 8 kB / 0.7832 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.0242, allocations: 8.625 kB / 0.7832 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/0.02486, allocations: 290.4 kB / 0.7835 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.02512, allocations: 116.8 kB / 0.7836 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.02806, allocations: 5.32 MB / 0.7888 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.02828, allocations: 21.22 kB / 0.7888 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.02831, allocations: 27.98 kB / 0.7888 GB, free: 8.152 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.02845, allocations: 154 kB / 0.789 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.02852, allocations: 55.94 kB / 0.789 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.02906, allocations: 449.7 kB / 0.7894 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02906, allocations: 4 kB / 0.7894 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02907, allocations: 4.562 kB / 0.7894 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02907, allocations: 3.984 kB / 0.7894 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.03006, allocations: 0.8833 MB / 0.7903 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.03007, allocations: 4.562 kB / 0.7903 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.0302, allocations: 52.7 kB / 0.7904 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006221/0.03082, allocations: 278.5 kB / 0.7906 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.03085, allocations: 4 kB / 0.7906 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.03369, allocations: 5.308 MB / 0.7958 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.0337, allocations: 4.531 kB / 0.7958 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.03429, allocations: 0.5839 MB / 0.7964 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.03441, allocations: 87.53 kB / 0.7965 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.03445, allocations: 12.97 kB / 0.7965 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03459, allocations: 8 kB / 0.7965 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.03469, allocations: 56.98 kB / 0.7965 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.03471, allocations: 12 kB / 0.7966 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001466/0.03485, allocations: 204.4 kB / 0.7968 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03485, allocations: 0 / 0.7968 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004815/0.03533, allocations: 228.8 kB / 0.797 GB, free: 15.26 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.03545, allocations: 94.64 kB / 0.7971 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.0363, allocations: 0.8929 MB / 0.7979 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.03631, allocations: 12.44 kB / 0.7979 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.03683, allocations: 0.7205 MB / 0.7986 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.03732, allocations: 199.2 kB / 0.7988 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.0388, allocations: 1.277 MB / 0.8001 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.03894, allocations: 216 kB / 0.8003 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00019/0.03913, allocations: 77.19 kB / 0.8004 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.03942, allocations: 209.2 kB / 0.8006 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.03942, allocations: 3.938 kB / 0.8006 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of Templates: time 0.01398/0.05341, allocations: 12.09 MB / 0.8124 GB, free: 15.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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.318293214309961]