Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0009652/0.0009652, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009034/0.0009034, allocations: 161 kB / 23.82 MB, free: 0.75 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.9668/0.9668, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.767/1.767, allocations: 377.9 MB / 0.6236 GB, free: 8.523 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.ACLine_R_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.038e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04736/0.04739, allocations: 21.51 MB / 0.8326 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.05917, allocations: 6.172 MB / 0.8386 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.06272, allocations: 198.6 kB / 0.8388 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.06582, allocations: 0.9268 MB / 0.8397 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.0714, allocations: 2.054 MB / 0.8417 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.07547, allocations: 1.841 MB / 0.8435 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.08552, allocations: 9.325 MB / 0.8526 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008754/0.09427, allocations: 6.183 MB / 0.8586 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009697/0.104, allocations: 5.751 MB / 0.8642 GB, free: 11.54 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006547/0.1105, allocations: 4.533 MB / 0.8687 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.1128, allocations: 0.8242 MB / 0.8695 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.1156, allocations: 0.9138 MB / 0.8704 GB, free: 5.258 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.004233/0.1199, allocations: 3.403 MB / 0.8737 GB, free: 1.848 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005402/0.1253, allocations: 2.581 MB / 0.8762 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.007532/0.1328, allocations: 6.342 MB / 0.8824 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1328, allocations: 0 / 0.8824 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1328, allocations: 0 / 0.8824 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003636/0.1332, allocations: 0 / 0.8824 GB, free: 8.902 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0112/0.1444, allocations: 6.61 MB / 0.8889 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1444, allocations: 12.03 kB / 0.8889 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.1474, allocations: 1.616 MB / 0.8905 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/0.1525, allocations: 3.438 MB / 0.8938 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.1528, allocations: 427.7 kB / 0.8942 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008282/0.1536, allocations: 0.555 MB / 0.8948 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/0.1627, allocations: 6.273 MB / 0.9009 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.1628, allocations: 16.06 kB / 0.9009 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.1633, allocations: 248.3 kB / 0.9011 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003902/0.1637, allocations: 426.8 kB / 0.9015 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005744/0.1694, allocations: 2.152 MB / 0.9036 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.1965, allocations: 28.18 MB / 0.9312 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.1986, allocations: 1.423 MB / 0.9326 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.2, allocations: 0.9254 MB / 0.9335 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.2, allocations: 34 kB / 0.9335 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.2001, allocations: 63.39 kB / 0.9335 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=209): time 4.138e-06/0.2001, allocations: 3.938 kB / 0.9336 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212): time 0.0125/0.2126, allocations: 6.437 MB / 0.9398 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2126, allocations: 77.41 kB / 0.9399 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.2142, allocations: 1.684 MB / 0.9416 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.2143, allocations: 65.69 kB / 0.9416 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.2155, allocations: 2.525 MB / 0.9441 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.216, allocations: 0.7981 MB / 0.9449 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004985/0.2165, allocations: 488 kB / 0.9453 GB, free: 6.766 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2166, allocations: 480.7 kB / 0.9458 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.2173, allocations: 465 kB / 0.9462 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.2186, allocations: 1.501 MB / 0.9477 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.2207, allocations: 2.155 MB / 0.9498 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.2207, allocations: 4 kB / 0.9498 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003903/0.2246, allocations: 2.864 MB / 0.9526 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2246, allocations: 12 kB / 0.9526 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.2247, allocations: 27.94 kB / 0.9526 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.2272, allocations: 1.203 MB / 0.9538 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.2282, allocations: 459.2 kB / 0.9543 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.2384, allocations: 12.4 MB / 0.9664 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2398, allocations: 147.9 kB / 0.9665 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.2399, allocations: 108.1 kB / 0.9666 GB, free: 15.59 MB / 0.9323 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001103/0.241, allocations: 311.8 kB / 0.9669 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.2415, allocations: 350.3 kB / 0.9672 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.2445, allocations: 2.253 MB / 0.9694 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2445, allocations: 20 kB / 0.9695 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.2445, allocations: 24 kB / 0.9695 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2445, allocations: 11.95 kB / 0.9695 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/0.2529, allocations: 6.178 MB / 0.9755 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.2529, allocations: 4 kB / 0.9755 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.2534, allocations: 235.6 kB / 0.9758 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.2557, allocations: 1.057 MB / 0.9768 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.2558, allocations: 40 kB / 0.9768 GB, free: 4.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.2659, allocations: 12.36 MB / 0.9889 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2659, allocations: 4 kB / 0.9889 GB, free: 8.066 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.2695, allocations: 2.541 MB / 0.9914 GB, free: 5.414 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/0.2703, allocations: 0.5177 MB / 0.9919 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.2705, allocations: 40 kB / 0.9919 GB, free: 4.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.2711, allocations: 115.9 kB / 0.992 GB, free: 4.742 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/0.2715, allocations: 189.5 kB / 0.9922 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/0.2716, allocations: 63.94 kB / 0.9923 GB, free: 4.492 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009152/0.2725, allocations: 0.9535 MB / 0.9932 GB, free: 3.523 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2725, allocations: 0 / 0.9932 GB, free: 3.523 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002283/0.2748, allocations: 1.141 MB / 0.9943 GB, free: 2.383 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.275, allocations: 167 kB / 0.9945 GB, free: 2.207 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00396/0.279, allocations: 3.134 MB / 0.9975 GB, free: 15 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.279, allocations: 0 / 0.9975 GB, free: 15 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.2813, allocations: 2.289 MB / 0.9998 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.2834, allocations: 0.8191 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.2944, allocations: 8.441 MB / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.2959, allocations: 1.393 MB / 1.01 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001214/0.2971, allocations: 471 kB / 1.011 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.2974, allocations: 144.5 kB / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of SimCode: time 2.384e-06/0.2974, allocations: 0 / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of Templates: time 0.3762/0.6736, allocations: 54.78 MB / 1.064 GB, free: 245.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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: 6.494054646231234]