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.001033/0.001033, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001135/0.001135, allocations: 169 kB / 24.28 MB, free: 280 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.9831/0.9831, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.856/1.856, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.282e-06/1.282e-06, allocations: 0.7656 kB / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.382e-05, allocations: 4.984 kB / 0.8115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005654/0.005678, allocations: 6.255 MB / 0.8176 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003816/0.009494, allocations: 3.255 MB / 0.8208 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.00986, allocations: 39.62 kB / 0.8208 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.0112, allocations: 0.9639 MB / 0.8218 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000866/0.01206, allocations: 0.4971 MB / 0.8223 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.01293, allocations: 0.4972 MB / 0.8228 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.01385, allocations: 1.14 MB / 0.8239 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.01448, allocations: 0.51 MB / 0.8244 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006157/0.0151, allocations: 0.6086 MB / 0.825 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.01555, allocations: 432.1 kB / 0.8254 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.01561, allocations: 60 kB / 0.8254 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.01623, allocations: 454.7 kB / 0.8259 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.01644, allocations: 303.7 kB / 0.8262 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.01678, allocations: 276 kB / 0.8264 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.01763, allocations: 0.8681 MB / 0.8273 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.01764, allocations: 1.688 kB / 0.8273 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01764, allocations: 4 kB / 0.8273 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.01765, allocations: 0 / 0.8273 GB, free: 0.7656 MB / 0.7292 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.001211/0.01886, allocations: 1.102 MB / 0.8283 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.01892, allocations: 12.03 kB / 0.8284 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.02008, allocations: 335.7 kB / 0.8287 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.0207, allocations: 0.559 MB / 0.8292 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.02073, allocations: 45.69 kB / 0.8293 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.02081, allocations: 68.31 kB / 0.8293 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.02161, allocations: 0.8981 MB / 0.8302 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02163, allocations: 8.125 kB / 0.8302 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.02168, allocations: 29.31 kB / 0.8302 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.479e-05/0.02175, allocations: 73.2 kB / 0.8303 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.02221, allocations: 338.5 kB / 0.8306 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.02535, allocations: 5.637 MB / 0.8361 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.02577, allocations: 259.2 kB / 0.8364 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.02617, allocations: 254.7 kB / 0.8366 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.0262, allocations: 8 kB / 0.8366 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.02622, allocations: 41.33 kB / 0.8367 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.02622, allocations: 0 / 0.8367 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.002112/0.02834, allocations: 1.152 MB / 0.8378 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.02837, allocations: 55.41 kB / 0.8379 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.02868, allocations: 482.4 kB / 0.8383 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.02871, allocations: 33.7 kB / 0.8384 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02889, allocations: 442.7 kB / 0.8388 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.02897, allocations: 150.7 kB / 0.8389 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.02909, allocations: 123.9 kB / 0.839 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.02923, allocations: 0.5274 MB / 0.8396 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.02938, allocations: 109.2 kB / 0.8397 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.02966, allocations: 404.7 kB / 0.84 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.03032, allocations: 0.5608 MB / 0.8406 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.03032, allocations: 0 / 0.8406 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009291/0.03125, allocations: 0.7214 MB / 0.8413 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.03127, allocations: 10.59 kB / 0.8413 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.03128, allocations: 8 kB / 0.8413 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.03192, allocations: 254.5 kB / 0.8416 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.03211, allocations: 103.8 kB / 0.8417 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/0.03629, allocations: 7.72 MB / 0.8492 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.03652, allocations: 35.97 kB / 0.8492 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.03655, allocations: 24 kB / 0.8492 GB, free: 8.949 MB / 0.7605 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.0001861/0.03673, allocations: 204.3 kB / 0.8494 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.03681, allocations: 71.86 kB / 0.8495 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.03761, allocations: 0.5598 MB / 0.8501 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.03761, allocations: 4 kB / 0.8501 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.03762, allocations: 8 kB / 0.8501 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.03762, allocations: 11.86 kB / 0.8501 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.03896, allocations: 1.143 MB / 0.8512 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.03896, allocations: 0 / 0.8512 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.03906, allocations: 44.09 kB / 0.8512 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/0.03962, allocations: 246.5 kB / 0.8515 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.03964, allocations: 16 kB / 0.8515 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.04364, allocations: 7.706 MB / 0.859 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.04364, allocations: 4 kB / 0.859 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.04445, allocations: 0.7312 MB / 0.8597 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.04458, allocations: 107.5 kB / 0.8598 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.04462, allocations: 8 kB / 0.8598 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.04475, allocations: 23.97 kB / 0.8599 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.04484, allocations: 47.86 kB / 0.8599 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.04486, allocations: 12 kB / 0.8599 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002012/0.04506, allocations: 298.8 kB / 0.8602 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.04506, allocations: 0 / 0.8602 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005686/0.04563, allocations: 196 kB / 0.8604 GB, free: 12.85 MB / 0.7761 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.0001308/0.04576, allocations: 119.1 kB / 0.8605 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.04698, allocations: 1.149 MB / 0.8616 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04698, allocations: 0 / 0.8616 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.0476, allocations: 0.9518 MB / 0.8626 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.04821, allocations: 197.2 kB / 0.8627 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.04977, allocations: 1.171 MB / 0.8639 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.04992, allocations: 218.1 kB / 0.8641 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.05009, allocations: 81 kB / 0.8642 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.05015, allocations: 36.5 kB / 0.8642 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.05015, allocations: 0 / 0.8642 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.01241/0.06256, allocations: 10.55 MB / 0.8745 GB, free: 14.38 MB / 0.7917 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.232763684121892]