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.0009861/0.0009861, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001001/0.001001, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9562/0.9562, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.818/1.818, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.613e-06/1.613e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.406e-05, allocations: 4.844 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.003848/0.003862, allocations: 4.16 MB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.005907, allocations: 1.557 MB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.00617, allocations: 40.81 kB / 0.8184 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.006647, allocations: 182.7 kB / 0.8186 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.007213, allocations: 413.5 kB / 0.819 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.007735, allocations: 389.1 kB / 0.8193 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009608/0.008696, allocations: 1.14 MB / 0.8205 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.009257, allocations: 0.5022 MB / 0.8209 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.009848, allocations: 0.617 MB / 0.8215 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.0103, allocations: 460.2 kB / 0.822 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.01036, allocations: 56 kB / 0.822 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.01056, allocations: 131.8 kB / 0.8222 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.01076, allocations: 314 kB / 0.8225 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.01095, allocations: 267.3 kB / 0.8227 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.01147, allocations: 0.6694 MB / 0.8234 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01148, allocations: 0 / 0.8234 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.12e-07/0.01148, allocations: 0 / 0.8234 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.01148, allocations: 0 / 0.8234 GB, free: 6.598 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.0009025/0.01239, allocations: 1.058 MB / 0.8244 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01242, allocations: 12.03 kB / 0.8244 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007038/0.01312, allocations: 287.8 kB / 0.8247 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.01366, allocations: 0.5301 MB / 0.8252 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.01369, allocations: 48.41 kB / 0.8253 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.01376, allocations: 64.31 kB / 0.8253 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.01438, allocations: 0.8545 MB / 0.8261 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.01441, allocations: 12.11 kB / 0.8262 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.01444, allocations: 24.38 kB / 0.8262 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.01451, allocations: 77.2 kB / 0.8263 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.0148, allocations: 272.8 kB / 0.8265 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.0176, allocations: 5.524 MB / 0.8319 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.01791, allocations: 219.5 kB / 0.8321 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.01823, allocations: 226.8 kB / 0.8323 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.01826, allocations: 15.94 kB / 0.8324 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.01828, allocations: 45.39 kB / 0.8324 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.01828, allocations: 0 / 0.8324 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.001676/0.01996, allocations: 0.9607 MB / 0.8333 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.01998, allocations: 55.41 kB / 0.8334 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.02024, allocations: 470.2 kB / 0.8338 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.02026, allocations: 29.7 kB / 0.8339 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.02059, allocations: 458.6 kB / 0.8343 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.02068, allocations: 166.6 kB / 0.8345 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02078, allocations: 115.9 kB / 0.8346 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.02091, allocations: 0.5429 MB / 0.8351 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.021, allocations: 77.25 kB / 0.8352 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.02122, allocations: 384.7 kB / 0.8355 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.02158, allocations: 0.5139 MB / 0.836 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02159, allocations: 0 / 0.836 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007446/0.02233, allocations: 0.6597 MB / 0.8367 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.02235, allocations: 11.98 kB / 0.8367 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.02235, allocations: 8 kB / 0.8367 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.02288, allocations: 258.4 kB / 0.837 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.02303, allocations: 87.84 kB / 0.837 GB, free: 7.781 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.02666, allocations: 7.578 MB / 0.8444 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.02682, allocations: 16 kB / 0.8445 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.02684, allocations: 24 kB / 0.8445 GB, free: 15.71 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.0001338/0.02697, allocations: 196.4 kB / 0.8447 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.02704, allocations: 75.56 kB / 0.8447 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.02767, allocations: 0.509 MB / 0.8452 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.02767, allocations: 8 kB / 0.8452 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02767, allocations: 4 kB / 0.8452 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02768, allocations: 4 kB / 0.8452 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.0287, allocations: 0.9972 MB / 0.8462 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.0287, allocations: 4 kB / 0.8462 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.02877, allocations: 31.92 kB / 0.8463 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.02924, allocations: 242.7 kB / 0.8465 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.02926, allocations: 11.94 kB / 0.8465 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.03263, allocations: 7.564 MB / 0.8539 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03263, allocations: 0 / 0.8539 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.03328, allocations: 0.6956 MB / 0.8546 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.03337, allocations: 83.56 kB / 0.8546 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.03341, allocations: 12 kB / 0.8547 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.03353, allocations: 7.938 kB / 0.8547 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.03359, allocations: 43.92 kB / 0.8547 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.0336, allocations: 8 kB / 0.8547 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002658/0.03387, allocations: 286.7 kB / 0.855 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.03387, allocations: 0 / 0.855 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004533/0.03432, allocations: 200 kB / 0.8552 GB, free: 4.098 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 9.985e-05/0.03442, allocations: 107.2 kB / 0.8553 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000816/0.03524, allocations: 1.117 MB / 0.8564 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.03524, allocations: 8.062 kB / 0.8564 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.03577, allocations: 0.9261 MB / 0.8573 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.03632, allocations: 199 kB / 0.8575 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.03755, allocations: 1.168 MB / 0.8586 GB, free: 380 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.03767, allocations: 206.3 kB / 0.8588 GB, free: 152 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.0378, allocations: 65.03 kB / 0.8589 GB, free: 84 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.03802, allocations: 202.1 kB / 0.8591 GB, free: 15.88 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/0.03802, allocations: 0 / 0.8591 GB, free: 15.88 MB / 0.823 GB Notification: Performance of Templates: time 0.01227/0.05029, allocations: 11.3 MB / 0.8701 GB, free: 4.82 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.289310771971941]