Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009627/0.0009627, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001164/0.001164, allocations: 169 kB / 24.28 MB, free: 280 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.975/0.975, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.947e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02648/0.02651, allocations: 35.58 MB / 0.8219 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.04076, allocations: 10.18 MB / 0.8318 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.0437, allocations: 190.6 kB / 0.832 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005734/0.04943, allocations: 3.931 MB / 0.8358 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.05473, allocations: 2.202 MB / 0.838 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.05925, allocations: 1.995 MB / 0.8399 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00821/0.06746, allocations: 8.125 MB / 0.8479 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006197/0.07366, allocations: 5.265 MB / 0.853 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/0.0806, allocations: 4.931 MB / 0.8578 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/0.08549, allocations: 3.698 MB / 0.8614 GB, free: 416 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.08683, allocations: 0.6797 MB / 0.8621 GB, free: 15.72 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.08941, allocations: 1.369 MB / 0.8634 GB, free: 14.36 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.09199, allocations: 2.841 MB / 0.8662 GB, free: 11.51 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.09521, allocations: 2.199 MB / 0.8684 GB, free: 9.305 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006774/0.102, allocations: 5.726 MB / 0.874 GB, free: 3.562 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.102, allocations: 0 / 0.874 GB, free: 3.562 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.102, allocations: 0 / 0.874 GB, free: 3.562 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001885/0.1022, allocations: 0 / 0.874 GB, free: 3.562 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006759/0.1089, allocations: 5.717 MB / 0.8795 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.109, allocations: 12.03 kB / 0.8796 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.1126, allocations: 1.515 MB / 0.881 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.1163, allocations: 3.103 MB / 0.8841 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.1165, allocations: 357.9 kB / 0.8844 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.1169, allocations: 476.3 kB / 0.8849 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.1234, allocations: 5.401 MB / 0.8901 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-05/0.1235, allocations: 23.95 kB / 0.8902 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.1238, allocations: 208.3 kB / 0.8904 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.1242, allocations: 373 kB / 0.8907 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.128, allocations: 1.845 MB / 0.8925 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/0.1489, allocations: 26.24 MB / 0.9181 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.1504, allocations: 0.8987 MB / 0.919 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.1512, allocations: 0.6188 MB / 0.9196 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.1512, allocations: 25.31 kB / 0.9196 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1513, allocations: 62.64 kB / 0.9197 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 6.001e-06/0.1513, allocations: 3.984 kB / 0.9197 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.007243/0.1585, allocations: 3.886 MB / 0.9235 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1586, allocations: 68.72 kB / 0.9236 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.16, allocations: 1.581 MB / 0.9251 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/0.1601, allocations: 57.7 kB / 0.9252 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.1611, allocations: 2.246 MB / 0.9274 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.1615, allocations: 0.5849 MB / 0.9279 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.1619, allocations: 405.9 kB / 0.9283 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.162, allocations: 476.8 kB / 0.9288 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.1626, allocations: 380.2 kB / 0.9291 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.1637, allocations: 1.367 MB / 0.9305 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.1655, allocations: 1.914 MB / 0.9323 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1655, allocations: 12 kB / 0.9323 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00319/0.1687, allocations: 2.37 MB / 0.9347 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.1687, allocations: 22.09 kB / 0.9347 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.1687, allocations: 24 kB / 0.9347 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.1704, allocations: 0.7221 MB / 0.9354 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/0.1712, allocations: 431.2 kB / 0.9358 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.1828, allocations: 23.11 MB / 0.9584 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.1842, allocations: 123.9 kB / 0.9585 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.1844, allocations: 95.98 kB / 0.9586 GB, free: 8.641 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001148/0.1856, allocations: 308 kB / 0.9589 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.1859, allocations: 302.4 kB / 0.9592 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.1883, allocations: 1.708 MB / 0.9608 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1883, allocations: 16 kB / 0.9609 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1883, allocations: 8 kB / 0.9609 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.1883, allocations: 7.969 kB / 0.9609 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006896/0.1952, allocations: 5.028 MB / 0.9658 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.1952, allocations: 4 kB / 0.9658 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.1957, allocations: 219.6 kB / 0.966 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.1973, allocations: 0.7035 MB / 0.9667 GB, free: 52 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.1974, allocations: 32 kB / 0.9667 GB, free: 20 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.2089, allocations: 23.05 MB / 0.9892 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.2089, allocations: 4 kB / 0.9892 GB, free: 7.488 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.2118, allocations: 2.01 MB / 0.9912 GB, free: 5.328 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.2126, allocations: 434.2 kB / 0.9916 GB, free: 4.902 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.2128, allocations: 32 kB / 0.9916 GB, free: 4.871 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.2134, allocations: 99.88 kB / 0.9917 GB, free: 4.773 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.2138, allocations: 144.9 kB / 0.9919 GB, free: 4.633 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.2138, allocations: 51.98 kB / 0.9919 GB, free: 4.582 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009267/0.2147, allocations: 0.8872 MB / 0.9928 GB, free: 3.676 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2147, allocations: 4 kB / 0.9928 GB, free: 3.672 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002365/0.2171, allocations: 0.9062 MB / 0.9937 GB, free: 2.766 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002256/0.2173, allocations: 162.9 kB / 0.9938 GB, free: 2.598 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.2208, allocations: 3.708 MB / 0.9975 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.2208, allocations: 7.906 kB / 0.9975 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.223, allocations: 3.008 MB / 1 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.225, allocations: 0.768 MB / 1.001 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/0.2345, allocations: 6.992 MB / 1.008 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.2356, allocations: 1.169 MB / 1.009 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001225/0.2368, allocations: 440.5 kB / 1.01 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.2371, allocations: 132.5 kB / 1.01 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of SimCode: time 2.185e-06/0.2371, allocations: 0 / 1.01 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of Templates: time 0.0513/0.2884, allocations: 42.73 MB / 1.051 GB, free: 7.992 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.3421317380853]