Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.0009499/0.0009499, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001022/0.001022, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9307/0.9307, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.821/1.821, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.58e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005345/0.005361, allocations: 6.531 MB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.008457, allocations: 2.21 MB / 0.8213 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.008872, allocations: 48.22 kB / 0.8214 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.009339, allocations: 267.5 kB / 0.8216 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009554/0.01029, allocations: 0.706 MB / 0.8223 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009396/0.01123, allocations: 0.6555 MB / 0.823 GB, free: 7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.0137, allocations: 3 MB / 0.8259 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.01525, allocations: 1.425 MB / 0.8273 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.01708, allocations: 1.735 MB / 0.829 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.01879, allocations: 1.626 MB / 0.8306 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003648/0.01915, allocations: 236 kB / 0.8308 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.01965, allocations: 337 kB / 0.8311 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.02037, allocations: 1.161 MB / 0.8323 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.02101, allocations: 0.7875 MB / 0.833 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.02248, allocations: 2.147 MB / 0.8351 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.02248, allocations: 0 / 0.8351 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.32e-07/0.02248, allocations: 2.312 kB / 0.8351 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.0225, allocations: 0 / 0.8351 GB, free: 10.5 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002084/0.02459, allocations: 2.252 MB / 0.8373 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.506e-05/0.02461, allocations: 9.156 kB / 0.8373 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.02872, allocations: 1.291 MB / 0.8386 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.0298, allocations: 1.041 MB / 0.8396 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.02986, allocations: 115.4 kB / 0.8397 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.03005, allocations: 148.3 kB / 0.8399 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.0318, allocations: 1.658 MB / 0.8415 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.03183, allocations: 192 / 0.8415 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.03197, allocations: 68.34 kB / 0.8415 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.03213, allocations: 207.1 kB / 0.8417 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.03319, allocations: 0.6698 MB / 0.8424 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006832/0.04002, allocations: 8.264 MB / 0.8505 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.04072, allocations: 0.5608 MB / 0.851 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.0412, allocations: 398.1 kB / 0.8514 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.04126, allocations: 17 kB / 0.8514 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.04128, allocations: 42.39 kB / 0.8514 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 2.014e-06/0.04129, allocations: 0 / 0.8514 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.01628/0.05757, allocations: 8.211 MB / 0.8595 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.0576, allocations: 73.34 kB / 0.8595 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.05817, allocations: 0.8735 MB / 0.8604 GB, free: 128 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.05827, allocations: 53.7 kB / 0.8604 GB, free: 68 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.05865, allocations: 0.8782 MB / 0.8613 GB, free: 15.18 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.05905, allocations: 0.6818 MB / 0.862 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.05952, allocations: 364.9 kB / 0.8623 GB, free: 14.12 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.05962, allocations: 480.7 kB / 0.8628 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.06016, allocations: 359.7 kB / 0.8631 GB, free: 13.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.06093, allocations: 0.8598 MB / 0.864 GB, free: 12.27 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.06233, allocations: 1.335 MB / 0.8653 GB, free: 10.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.06233, allocations: 7.938 kB / 0.8653 GB, free: 10.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008019/0.07035, allocations: 4.132 MB / 0.8693 GB, free: 6.598 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.07037, allocations: 8 kB / 0.8693 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.07038, allocations: 8 kB / 0.8693 GB, free: 6.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008153/0.07853, allocations: 3.233 MB / 0.8725 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.07894, allocations: 175.7 kB / 0.8726 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.09811, allocations: 17.84 MB / 0.8901 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.0989, allocations: 44 kB / 0.8901 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.09901, allocations: 59.98 kB / 0.8902 GB, free: 0.7734 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * 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: 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000462/0.09947, allocations: 256.2 kB / 0.8904 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.09974, allocations: 199.1 kB / 0.8906 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007738/0.1075, allocations: 4.15 MB / 0.8946 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1075, allocations: 16 kB / 0.8947 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.1075, allocations: 32 kB / 0.8947 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.1075, allocations: 11.95 kB / 0.8947 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.1177, allocations: 6.12 MB / 0.9007 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1177, allocations: 4 kB / 0.9007 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1179, allocations: 107.8 kB / 0.9008 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008143/0.126, allocations: 3.133 MB / 0.9038 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.1262, allocations: 36 kB / 0.9039 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.1447, allocations: 16.5 MB / 0.92 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1447, allocations: 4 kB / 0.92 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/0.1524, allocations: 4.125 MB / 0.924 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.1529, allocations: 414.8 kB / 0.9244 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.1531, allocations: 36 kB / 0.9245 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.1536, allocations: 39.94 kB / 0.9245 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.1541, allocations: 165.6 kB / 0.9247 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.321e-05/0.1542, allocations: 36 kB / 0.9247 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003279/0.1545, allocations: 0.499 MB / 0.9252 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.1545, allocations: 0 / 0.9252 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002137/0.1566, allocations: 1.008 MB / 0.9262 GB, free: 11.13 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.1568, allocations: 148.5 kB / 0.9263 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003793/0.1606, allocations: 3.034 MB / 0.9293 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1606, allocations: 4.125 kB / 0.9293 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.1637, allocations: 2.572 MB / 0.9318 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.1645, allocations: 234.6 kB / 0.932 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.1686, allocations: 4.007 MB / 0.9359 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1691, allocations: 0.6389 MB / 0.9365 GB, free: 236 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.1693, allocations: 111.5 kB / 0.9367 GB, free: 120 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.1696, allocations: 242.1 kB / 0.9369 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.1696, allocations: 0 / 0.9369 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of Templates: time 0.05888/0.2285, allocations: 68.15 MB / 1.003 GB, free: 11.62 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.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.824713121168315]