Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001219/0.001219, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009673/0.0009673, allocations: 161 kB / 24.17 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.9848/0.9848, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.01/2.01, 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.837e-05, allocations: 7.031 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0139/0.01392, allocations: 19.55 MB / 0.7792 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009885/0.0238, allocations: 5.751 MB / 0.7848 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.02606, allocations: 194.6 kB / 0.785 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.02754, allocations: 0.8376 MB / 0.7858 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.03109, allocations: 1.855 MB / 0.7876 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.03436, allocations: 1.649 MB / 0.7892 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008182/0.04254, allocations: 8.02 MB / 0.7971 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006079/0.04862, allocations: 5.53 MB / 0.8025 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/0.05427, allocations: 4.874 MB / 0.8072 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.0585, allocations: 3.628 MB / 0.8108 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000799/0.0593, allocations: 0.6807 MB / 0.8114 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.06045, allocations: 0.7615 MB / 0.8122 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/0.06261, allocations: 2.837 MB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.06472, allocations: 2.176 MB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.06956, allocations: 5.325 MB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.06957, allocations: 0 / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.06957, allocations: 0.9062 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.126e-05/0.06963, allocations: 0 / 0.8223 GB, free: 6.637 MB / 0.7761 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.006138/0.07577, allocations: 5.123 MB / 0.8273 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.0758, allocations: 8.031 kB / 0.8273 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.07901, allocations: 1.165 MB / 0.8284 GB, free: 312 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.0824, allocations: 2.489 MB / 0.8308 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.08264, allocations: 361.9 kB / 0.8312 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006153/0.08325, allocations: 480.3 kB / 0.8316 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.08871, allocations: 4.889 MB / 0.8364 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.866e-05/0.08881, allocations: 24 kB / 0.8364 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004029/0.08921, allocations: 209.6 kB / 0.8366 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/0.08962, allocations: 373 kB / 0.837 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.0921, allocations: 1.293 MB / 0.8383 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.1094, allocations: 18.74 MB / 0.8566 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1106, allocations: 0.7721 MB / 0.8573 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.1111, allocations: 476.3 kB / 0.8578 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.1112, allocations: 25.31 kB / 0.8578 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.1112, allocations: 51.88 kB / 0.8578 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 3.807e-06/0.1112, allocations: 4 kB / 0.8578 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of matching and sorting (n=160): time 0.0054/0.1166, allocations: 2.767 MB / 0.8606 GB, free: 14.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1167, allocations: 76.64 kB / 0.8606 GB, free: 14 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1177, allocations: 1.458 MB / 0.862 GB, free: 12.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.1178, allocations: 53.7 kB / 0.8621 GB, free: 12.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.1185, allocations: 1.94 MB / 0.864 GB, free: 10.49 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.1188, allocations: 0.5809 MB / 0.8646 GB, free: 9.902 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/0.1192, allocations: 375.8 kB / 0.8649 GB, free: 9.527 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.1193, allocations: 305.1 kB / 0.8652 GB, free: 9.227 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1196, allocations: 232.3 kB / 0.8654 GB, free: 8.996 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.1203, allocations: 0.9515 MB / 0.8664 GB, free: 7.723 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.1214, allocations: 1.411 MB / 0.8677 GB, free: 5.996 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1214, allocations: 8 kB / 0.8677 GB, free: 5.988 MB / 0.823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002104/0.1235, allocations: 1.762 MB / 0.8695 GB, free: 4.168 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1236, allocations: 12 kB / 0.8695 GB, free: 4.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.1236, allocations: 24 kB / 0.8695 GB, free: 4.133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.125, allocations: 0.7108 MB / 0.8702 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/0.1259, allocations: 403.3 kB / 0.8706 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009494/0.1354, allocations: 16.14 MB / 0.8863 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.1365, allocations: 64 kB / 0.8864 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.1366, allocations: 79.94 kB / 0.8865 GB, free: 1.531 MB / 0.8386 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.0009248/0.1375, allocations: 260.1 kB / 0.8867 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.1377, allocations: 211.7 kB / 0.8869 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.1394, allocations: 1.359 MB / 0.8883 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1394, allocations: 16 kB / 0.8883 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1395, allocations: 12 kB / 0.8883 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.1395, allocations: 7.969 kB / 0.8883 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.1437, allocations: 3.125 MB / 0.8913 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1437, allocations: 4 kB / 0.8913 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.1442, allocations: 192.3 kB / 0.8915 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.1457, allocations: 0.6676 MB / 0.8922 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.1458, allocations: 32 kB / 0.8922 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008741/0.1545, allocations: 16.12 MB / 0.908 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1545, allocations: 4 kB / 0.908 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.1566, allocations: 1.521 MB / 0.9094 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.1571, allocations: 330.3 kB / 0.9098 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.1573, allocations: 35.98 kB / 0.9098 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.1577, allocations: 32 kB / 0.9098 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.158, allocations: 148.9 kB / 0.91 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.1581, allocations: 36.12 kB / 0.91 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005527/0.1586, allocations: 0.7108 MB / 0.9107 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1586, allocations: 0 / 0.9107 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00206/0.1607, allocations: 0.9023 MB / 0.9116 GB, free: 6.25 MB / 0.8698 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.0002021/0.1609, allocations: 133.7 kB / 0.9117 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.1638, allocations: 2.812 MB / 0.9144 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.771e-05/0.1638, allocations: 25.81 kB / 0.9145 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.1656, allocations: 2.221 MB / 0.9166 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.1673, allocations: 0.7587 MB / 0.9174 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.1761, allocations: 7.26 MB / 0.9245 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.1771, allocations: 1.173 MB / 0.9256 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009303/0.178, allocations: 304.7 kB / 0.9259 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.1793, allocations: 0.6435 MB / 0.9265 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/0.1793, allocations: 0 / 0.9265 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of Templates: time 0.05997/0.2393, allocations: 45.34 MB / 0.9708 GB, free: 10.06 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.065695151221007]