Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00141/0.00141, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001384/0.001384, allocations: 173.1 kB / 23.27 MB, free: 1.219 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.9328/0.9328, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.26/2.26, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.61e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01213/0.01214, allocations: 16.98 MB / 0.9064 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006475/0.01862, allocations: 5.086 MB / 0.9113 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009154/0.01953, allocations: 198.5 kB / 0.9115 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.02063, allocations: 0.7446 MB / 0.9122 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.02233, allocations: 1.651 MB / 0.9139 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.02406, allocations: 1.568 MB / 0.9154 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00495/0.02901, allocations: 7.336 MB / 0.9225 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.0332, allocations: 5.085 MB / 0.9275 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.03678, allocations: 4.569 MB / 0.932 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.03942, allocations: 3.539 MB / 0.9354 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005309/0.03995, allocations: 0.6445 MB / 0.9361 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.04075, allocations: 0.7381 MB / 0.9368 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.04229, allocations: 2.756 MB / 0.9395 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.04361, allocations: 2.031 MB / 0.9415 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.04685, allocations: 5.033 MB / 0.9464 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.04686, allocations: 0 / 0.9464 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.01e-07/0.04686, allocations: 0 / 0.9464 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.449e-05/0.0469, allocations: 0 / 0.9464 GB, free: 15.5 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004534/0.05144, allocations: 5.164 MB / 0.9514 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.05148, allocations: 8.625 kB / 0.9514 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.05384, allocations: 1.351 MB / 0.9527 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.05648, allocations: 2.687 MB / 0.9554 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.05664, allocations: 353.7 kB / 0.9557 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.05706, allocations: 476.2 kB / 0.9562 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.06115, allocations: 4.462 MB / 0.9605 GB, free: 340 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-05/0.06123, allocations: 24 kB / 0.9605 GB, free: 316 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.0615, allocations: 200.3 kB / 0.9607 GB, free: 116 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.06171, allocations: 320.9 kB / 0.961 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.06346, allocations: 1.396 MB / 0.9624 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.07684, allocations: 23.97 MB / 0.9858 GB, free: 5.656 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.07759, allocations: 0.6869 MB / 0.9865 GB, free: 4.953 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.07797, allocations: 442.4 kB / 0.9869 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.07803, allocations: 29.31 kB / 0.9869 GB, free: 4.488 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.07806, allocations: 54.64 kB / 0.987 GB, free: 4.426 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 2.554e-06/0.07806, allocations: 0 / 0.987 GB, free: 4.426 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.004522/0.08258, allocations: 3.015 MB / 0.9899 GB, free: 1.359 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.08262, allocations: 68.72 kB / 0.99 GB, free: 1.281 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.08363, allocations: 1.31 MB / 0.9913 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.08368, allocations: 49.7 kB / 0.9913 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.08448, allocations: 2.127 MB / 0.9934 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.08473, allocations: 0.5113 MB / 0.9939 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.08502, allocations: 360.9 kB / 0.9942 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.08511, allocations: 484.7 kB / 0.9947 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.08539, allocations: 243.8 kB / 0.9949 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008905/0.08628, allocations: 1.224 MB / 0.9961 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.08745, allocations: 1.649 MB / 0.9977 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.08745, allocations: 4 kB / 0.9977 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002202/0.08966, allocations: 1.983 MB / 0.9997 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.08968, allocations: 18.19 kB / 0.9997 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.0897, allocations: 20 kB / 0.9997 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.091, allocations: 0.6874 MB / 1 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.09153, allocations: 315.4 kB / 1.001 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.1017, allocations: 23.38 MB / 1.024 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.1022, allocations: 52 kB / 1.024 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.1023, allocations: 72 kB / 1.024 GB, free: 12.45 MB / 0.9948 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.0006669/0.1029, allocations: 291.9 kB / 1.024 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.1031, allocations: 242.8 kB / 1.024 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.1048, allocations: 1.481 MB / 1.026 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1048, allocations: 12 kB / 1.026 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1048, allocations: 12 kB / 1.026 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1048, allocations: 7.969 kB / 1.026 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.1089, allocations: 3.657 MB / 1.029 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1089, allocations: 4 kB / 1.029 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.1094, allocations: 139.8 kB / 1.029 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.1106, allocations: 0.629 MB / 1.03 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.1106, allocations: 32 kB / 1.03 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3955/0.5061, allocations: 22.33 MB / 1.052 GB, free: 160.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5061, allocations: 6.062 kB / 1.052 GB, free: 160.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.5083, allocations: 1.732 MB / 1.053 GB, free: 160.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.5087, allocations: 333.2 kB / 1.054 GB, free: 160.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5088, allocations: 28.94 kB / 1.054 GB, free: 160.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.5091, allocations: 28.89 kB / 1.054 GB, free: 160.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.5094, allocations: 134.3 kB / 1.054 GB, free: 160.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.5094, allocations: 34.12 kB / 1.054 GB, free: 160.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004237/0.5099, allocations: 0.6977 MB / 1.055 GB, free: 159.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5099, allocations: 0 / 1.055 GB, free: 159.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001845/0.5117, allocations: 0.7921 MB / 1.055 GB, free: 159.9 MB / 1.01 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.5118, allocations: 141.4 kB / 1.056 GB, free: 159.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.5137, allocations: 3.395 MB / 1.059 GB, free: 157.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5137, allocations: 0 / 1.059 GB, free: 157.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.5149, allocations: 2.792 MB / 1.062 GB, free: 155.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5163, allocations: 0.7189 MB / 1.062 GB, free: 155.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.5217, allocations: 6.552 MB / 1.069 GB, free: 152.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.5224, allocations: 1.132 MB / 1.07 GB, free: 152.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004352/0.5228, allocations: 244.7 kB / 1.07 GB, free: 152.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.5236, allocations: 0.5698 MB / 1.071 GB, free: 152.6 MB / 1.01 GB Notification: Performance of SimCode: time 7.21e-07/0.5236, allocations: 3.438 kB / 1.071 GB, free: 152.6 MB / 1.01 GB Notification: Performance of Templates: time 0.05205/0.5757, allocations: 38.94 MB / 1.109 GB, free: 148.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.094836471136659]