Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009626/0.0009626, 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.000988/0.000988, allocations: 165 kB / 24.17 MB, free: 328 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.9494/0.9494, allocations: 177.1 MB / 204.6 MB, free: 5.457 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.867/1.867, allocations: 377.9 MB / 0.624 GB, free: 8.316 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.ACLineMedium,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.625e-05, allocations: 9.203 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.007653/0.00767, allocations: 10.36 MB / 0.7701 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006816/0.01449, allocations: 6.967 MB / 0.7769 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.01495, allocations: 83.25 kB / 0.777 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.01576, allocations: 396.9 kB / 0.7774 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.01792, allocations: 1.723 MB / 0.7791 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.01879, allocations: 0.661 MB / 0.7797 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.02118, allocations: 2.856 MB / 0.7825 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.02222, allocations: 1.25 MB / 0.7837 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.0239, allocations: 2.096 MB / 0.7858 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008772/0.02477, allocations: 0.9592 MB / 0.7867 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.02493, allocations: 156 kB / 0.7869 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.02533, allocations: 312.8 kB / 0.7872 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.02571, allocations: 0.6464 MB / 0.7878 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.0262, allocations: 0.643 MB / 0.7884 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.02758, allocations: 1.538 MB / 0.7899 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.02758, allocations: 0.6875 kB / 0.7899 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.02758, allocations: 0.75 kB / 0.7899 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.0276, allocations: 0 / 0.7899 GB, free: 7.93 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001787/0.02938, allocations: 2.005 MB / 0.7919 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.02941, allocations: 8.031 kB / 0.7919 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.0323, allocations: 0.864 MB / 0.7927 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.03337, allocations: 1.069 MB / 0.7938 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.03342, allocations: 91.23 kB / 0.7939 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.03358, allocations: 120.3 kB / 0.794 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.03555, allocations: 1.616 MB / 0.7956 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.03558, allocations: 20.59 kB / 0.7956 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.03568, allocations: 51.98 kB / 0.7956 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/0.03595, allocations: 146.8 kB / 0.7958 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.03666, allocations: 0.5754 MB / 0.7963 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.04147, allocations: 5.712 MB / 0.8019 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.04237, allocations: 0.5926 MB / 0.8025 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.04293, allocations: 254.8 kB / 0.8027 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.04298, allocations: 13.59 kB / 0.8027 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.04301, allocations: 47.55 kB / 0.8028 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 2.054e-06/0.04301, allocations: 0.6875 kB / 0.8028 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90): time 0.00982/0.05283, allocations: 3.896 MB / 0.8066 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.05288, allocations: 72.33 kB / 0.8067 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/0.05378, allocations: 0.895 MB / 0.8075 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.05388, allocations: 41.7 kB / 0.8076 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.0543, allocations: 0.5891 MB / 0.8082 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.05459, allocations: 329.1 kB / 0.8085 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.05497, allocations: 190.7 kB / 0.8087 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.05509, allocations: 345.9 kB / 0.809 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.05549, allocations: 190.5 kB / 0.8092 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.05606, allocations: 448.5 kB / 0.8096 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.05722, allocations: 0.7117 MB / 0.8103 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.05722, allocations: 0 / 0.8103 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002924/0.06015, allocations: 1.274 MB / 0.8115 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.06017, allocations: 8 kB / 0.8115 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.06018, allocations: 8 kB / 0.8115 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.06336, allocations: 0.8561 MB / 0.8124 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.06409, allocations: 175.7 kB / 0.8125 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.07189, allocations: 6.931 MB / 0.8193 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.07272, allocations: 43.98 kB / 0.8194 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.07284, allocations: 47.95 kB / 0.8194 GB, free: 8.707 MB / 0.7761 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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.07325, allocations: 168.4 kB / 0.8196 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.0735, allocations: 119.9 kB / 0.8197 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.07639, allocations: 1.253 MB / 0.8209 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.0764, allocations: 11.94 kB / 0.8209 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.07641, allocations: 12 kB / 0.8209 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.07642, allocations: 3.984 kB / 0.8209 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.08039, allocations: 1.98 MB / 0.8229 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.0804, allocations: 4 kB / 0.8229 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.08078, allocations: 99.83 kB / 0.823 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.08277, allocations: 0.8394 MB / 0.8238 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.08283, allocations: 31.97 kB / 0.8238 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.08823, allocations: 6.93 MB / 0.8306 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.08823, allocations: 3.938 kB / 0.8306 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.09018, allocations: 1.274 MB / 0.8318 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.09053, allocations: 238.9 kB / 0.8321 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.09066, allocations: 20 kB / 0.8321 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.0911, allocations: 39.98 kB / 0.8321 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.09142, allocations: 88.77 kB / 0.8322 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.09147, allocations: 23.97 kB / 0.8322 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003234/0.0918, allocations: 463.6 kB / 0.8327 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.0918, allocations: 4 kB / 0.8327 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001027/0.09283, allocations: 484 kB / 0.8331 GB, free: 10.09 MB / 0.7917 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 (37): * Single equations (assignments): 33 * 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002342/0.09306, allocations: 116.3 kB / 0.8332 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.09492, allocations: 1.451 MB / 0.8347 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.09494, allocations: 16.5 kB / 0.8347 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.096, allocations: 1.133 MB / 0.8358 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.09708, allocations: 0.5192 MB / 0.8363 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.1001, allocations: 2.51 MB / 0.8387 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1004, allocations: 396.1 kB / 0.8391 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007769/0.1012, allocations: 283.2 kB / 0.8394 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/0.1019, allocations: 399 kB / 0.8398 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.1019, allocations: 0 / 0.8398 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of Templates: time 0.03655/0.1384, allocations: 35.5 MB / 0.8744 GB, free: 244 kB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.600776340812445]