Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.001177/0.001177, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001359/0.001359, allocations: 181 kB / 24.09 MB, free: 420 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.8841/0.8841, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.721/1.721, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.694e-05, allocations: 7.156 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005661/0.005678, allocations: 4.806 MB / 0.7923 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.008169, allocations: 1.719 MB / 0.7939 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.008437, allocations: 41.28 kB / 0.794 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.008995, allocations: 202.5 kB / 0.7942 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.009628, allocations: 457.8 kB / 0.7946 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.01023, allocations: 397.8 kB / 0.795 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.01152, allocations: 1.283 MB / 0.7962 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.01213, allocations: 0.5261 MB / 0.7967 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.01282, allocations: 0.6746 MB / 0.7974 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.01341, allocations: 496.4 kB / 0.7979 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.0135, allocations: 68 kB / 0.7979 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.01374, allocations: 140.3 kB / 0.7981 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.01399, allocations: 327.1 kB / 0.7984 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.01426, allocations: 312.6 kB / 0.7987 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.01496, allocations: 0.7434 MB / 0.7994 GB, free: 28 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01496, allocations: 0 / 0.7994 GB, free: 28 kB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.01496, allocations: 0 / 0.7994 GB, free: 28 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.01497, allocations: 1.219 kB / 0.7994 GB, free: 28 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001319/0.01629, allocations: 1.18 MB / 0.8006 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.01633, allocations: 8.031 kB / 0.8006 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/0.01727, allocations: 285 kB / 0.8008 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.01795, allocations: 0.5451 MB / 0.8014 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.018, allocations: 50.23 kB / 0.8014 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.01809, allocations: 76.31 kB / 0.8015 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/0.01904, allocations: 1.027 MB / 0.8025 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.01906, allocations: 4.125 kB / 0.8025 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.01911, allocations: 32.36 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.01924, allocations: 90 kB / 0.8026 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.0198, allocations: 290.3 kB / 0.8029 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.0234, allocations: 5.585 MB / 0.8084 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.02385, allocations: 261 kB / 0.8086 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.02401, allocations: 105.6 kB / 0.8087 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.02404, allocations: 9.25 kB / 0.8087 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.02407, allocations: 45.88 kB / 0.8088 GB, free: 6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.02408, allocations: 1.219 kB / 0.8088 GB, free: 6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.00191/0.02599, allocations: 0.8952 MB / 0.8096 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.02602, allocations: 55.91 kB / 0.8097 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.02653, allocations: 0.5332 MB / 0.8102 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.02656, allocations: 29.7 kB / 0.8102 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.02682, allocations: 494.5 kB / 0.8107 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02694, allocations: 182.5 kB / 0.8109 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.02711, allocations: 128.2 kB / 0.811 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.02728, allocations: 0.5507 MB / 0.8115 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.02742, allocations: 85.92 kB / 0.8116 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.02773, allocations: 400.6 kB / 0.812 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.02824, allocations: 0.535 MB / 0.8125 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02824, allocations: 4 kB / 0.8125 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009684/0.02921, allocations: 0.6789 MB / 0.8132 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.02923, allocations: 8 kB / 0.8132 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.02924, allocations: 12 kB / 0.8132 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/0.0301, allocations: 298.8 kB / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.03041, allocations: 107.8 kB / 0.8136 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.03488, allocations: 7.479 MB / 0.8209 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.03517, allocations: 20 kB / 0.8209 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.03521, allocations: 24 kB / 0.8209 GB, free: 8.664 MB / 0.7761 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001748/0.03538, allocations: 196.4 kB / 0.8211 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.03549, allocations: 91.5 kB / 0.8212 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.03622, allocations: 0.4948 MB / 0.8217 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03622, allocations: 4 kB / 0.8217 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.03623, allocations: 7.938 kB / 0.8217 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.03624, allocations: 7.922 kB / 0.8217 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.03729, allocations: 1.018 MB / 0.8227 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.0373, allocations: 4 kB / 0.8227 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.03741, allocations: 48.05 kB / 0.8228 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/0.038, allocations: 282.6 kB / 0.823 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.03803, allocations: 12 kB / 0.823 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003206/0.04123, allocations: 7.469 MB / 0.8303 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.04123, allocations: 0 / 0.8303 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.04182, allocations: 0.6894 MB / 0.831 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.04195, allocations: 95.53 kB / 0.8311 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.04198, allocations: 8 kB / 0.8311 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.04212, allocations: 15.98 kB / 0.8311 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.0422, allocations: 43.86 kB / 0.8312 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.04222, allocations: 12 kB / 0.8312 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001795/0.0424, allocations: 330.6 kB / 0.8315 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.0424, allocations: 7.938 kB / 0.8315 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004563/0.04286, allocations: 220 kB / 0.8317 GB, free: 13 MB / 0.7917 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.000151/0.04301, allocations: 107.2 kB / 0.8318 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008422/0.04385, allocations: 1.147 MB / 0.8329 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.04385, allocations: 4 kB / 0.8329 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.04443, allocations: 0.9383 MB / 0.8339 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.04496, allocations: 215.9 kB / 0.8341 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.04643, allocations: 1.261 MB / 0.8353 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.04659, allocations: 211.4 kB / 0.8355 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.04678, allocations: 73.56 kB / 0.8356 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.04707, allocations: 254 kB / 0.8358 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of SimCode: time 4.2e-07/0.04707, allocations: 0 / 0.8358 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of Templates: time 0.01466/0.06173, allocations: 12.11 MB / 0.8476 GB, free: 12.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_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: 5.140204860828817]