Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001057/0.001057, allocations: 83.59 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.0009397/0.0009397, allocations: 169 kB / 23.82 MB, free: 0.7422 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.961/0.961, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.783/1.783, allocations: 377.9 MB / 0.6236 GB, free: 8.578 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.632e-05, allocations: 10.19 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005487/0.005514, allocations: 4.213 MB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.008179, allocations: 1.569 MB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.008514, allocations: 44.31 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.009135, allocations: 194.5 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.009762, allocations: 411.9 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.01035, allocations: 379.2 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01139, allocations: 1.144 MB / 0.8193 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.0121, allocations: 0.5061 MB / 0.8198 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01311, allocations: 0.6167 MB / 0.8204 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.01365, allocations: 452.4 kB / 0.8208 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.01372, allocations: 60 kB / 0.8209 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.01396, allocations: 127.8 kB / 0.821 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.01417, allocations: 308 kB / 0.8213 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.01438, allocations: 275.3 kB / 0.8215 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.01505, allocations: 0.6678 MB / 0.8222 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01506, allocations: 0 / 0.8222 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.01506, allocations: 0 / 0.8222 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.01507, allocations: 0 / 0.8222 GB, free: 6.84 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00104/0.01611, allocations: 1.058 MB / 0.8232 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01615, allocations: 8.031 kB / 0.8232 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007968/0.01695, allocations: 307.8 kB / 0.8235 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.01753, allocations: 0.5463 MB / 0.8241 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.01756, allocations: 49.67 kB / 0.8241 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.01763, allocations: 65.36 kB / 0.8242 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.01844, allocations: 0.9058 MB / 0.8251 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01846, allocations: 4.188 kB / 0.8251 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.01851, allocations: 32.89 kB / 0.8251 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/0.01857, allocations: 73.2 kB / 0.8252 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.01902, allocations: 339 kB / 0.8255 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.02227, allocations: 5.637 MB / 0.831 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.02266, allocations: 256.3 kB / 0.8312 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.02303, allocations: 255.5 kB / 0.8315 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.02306, allocations: 4 kB / 0.8315 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.02308, allocations: 45.39 kB / 0.8315 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.02309, allocations: 0 / 0.8315 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.002039/0.02512, allocations: 1.144 MB / 0.8326 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.02516, allocations: 55.41 kB / 0.8327 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.0255, allocations: 482.4 kB / 0.8332 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.02552, allocations: 29.7 kB / 0.8332 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.02572, allocations: 442.7 kB / 0.8336 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.02581, allocations: 158.6 kB / 0.8338 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.02592, allocations: 115.9 kB / 0.8339 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004604/0.02639, allocations: 0.539 MB / 0.8344 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.02653, allocations: 105.2 kB / 0.8345 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.02678, allocations: 412.7 kB / 0.8349 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.0273, allocations: 0.5569 MB / 0.8354 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.02731, allocations: 0 / 0.8354 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008795/0.02819, allocations: 0.7214 MB / 0.8361 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.02821, allocations: 8 kB / 0.8361 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.02822, allocations: 8.875 kB / 0.8362 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.02885, allocations: 262.5 kB / 0.8364 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.02903, allocations: 103.8 kB / 0.8365 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.03323, allocations: 7.713 MB / 0.844 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.03342, allocations: 31.97 kB / 0.8441 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.03345, allocations: 28 kB / 0.8441 GB, free: 15.09 MB / 0.8073 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.03361, allocations: 200.3 kB / 0.8443 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.03367, allocations: 71.61 kB / 0.8444 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.03441, allocations: 0.5598 MB / 0.8449 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.03442, allocations: 4 kB / 0.8449 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.03442, allocations: 4.188 kB / 0.8449 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.03443, allocations: 7.922 kB / 0.8449 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.03569, allocations: 1.149 MB / 0.846 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.03569, allocations: 4 kB / 0.846 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-05/0.03578, allocations: 40.09 kB / 0.8461 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.03632, allocations: 262.4 kB / 0.8463 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.03635, allocations: 8 kB / 0.8463 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.04065, allocations: 7.704 MB / 0.8539 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04065, allocations: 3.938 kB / 0.8539 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.04141, allocations: 0.7346 MB / 0.8546 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.04152, allocations: 95.56 kB / 0.8547 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.04155, allocations: 12 kB / 0.8547 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.04167, allocations: 23.97 kB / 0.8547 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/0.04209, allocations: 39.92 kB / 0.8547 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.0421, allocations: 12 kB / 0.8548 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001962/0.0423, allocations: 302.8 kB / 0.855 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0423, allocations: 0 / 0.855 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004924/0.04279, allocations: 196 kB / 0.8552 GB, free: 2.996 MB / 0.8073 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.04291, allocations: 107.2 kB / 0.8553 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.04398, allocations: 1.156 MB / 0.8565 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.04399, allocations: 0 / 0.8565 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.0447, allocations: 0.9496 MB / 0.8574 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.0453, allocations: 199.2 kB / 0.8576 GB, free: 456 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.04678, allocations: 1.173 MB / 0.8587 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.04695, allocations: 210.2 kB / 0.8589 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.04715, allocations: 89 kB / 0.859 GB, free: 14.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.0472, allocations: 36.44 kB / 0.859 GB, free: 14.86 MB / 0.823 GB Notification: Performance of SimCode: time 1.283e-06/0.0472, allocations: 0 / 0.859 GB, free: 14.86 MB / 0.823 GB Notification: Performance of Templates: time 0.01357/0.06077, allocations: 10.98 MB / 0.8698 GB, free: 4.105 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.256312396842986]