Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001331/0.001331, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.006642/0.006642, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.12/1.12, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.17/2.17, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.995e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02682/0.02685, allocations: 35.6 MB / 0.913 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.04091, allocations: 10.18 MB / 0.9229 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.04255, allocations: 190.6 kB / 0.9231 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00429/0.04684, allocations: 3.936 MB / 0.9269 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.04988, allocations: 2.202 MB / 0.9291 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.05258, allocations: 1.988 MB / 0.931 GB, free: 412 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005174/0.05775, allocations: 8.125 MB / 0.939 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.06239, allocations: 5.277 MB / 0.9441 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.06621, allocations: 4.931 MB / 0.9489 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.06919, allocations: 3.698 MB / 0.9526 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005323/0.06973, allocations: 0.6758 MB / 0.9532 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.07129, allocations: 1.377 MB / 0.9546 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.07292, allocations: 2.841 MB / 0.9573 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.07461, allocations: 2.191 MB / 0.9595 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.07857, allocations: 5.726 MB / 0.9651 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.07857, allocations: 4 kB / 0.9651 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.07857, allocations: 0 / 0.9651 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.065e-05/0.07861, allocations: 0 / 0.9651 GB, free: 13.35 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005313/0.08393, allocations: 5.716 MB / 0.9707 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.08397, allocations: 12.03 kB / 0.9707 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.08711, allocations: 1.519 MB / 0.9721 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.09012, allocations: 3.099 MB / 0.9752 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.09029, allocations: 357.9 kB / 0.9755 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.09074, allocations: 488.3 kB / 0.976 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005582/0.09633, allocations: 5.394 MB / 0.9812 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.518e-05/0.09641, allocations: 16.06 kB / 0.9813 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.09675, allocations: 216.3 kB / 0.9815 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/0.09712, allocations: 369 kB / 0.9818 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.1005, allocations: 1.841 MB / 0.9836 GB, free: 9.531 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.1172, allocations: 26.24 MB / 1.009 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1185, allocations: 0.8884 MB / 1.01 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.1193, allocations: 0.6078 MB / 1.011 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-05/0.1194, allocations: 25.31 kB / 1.011 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1194, allocations: 54.7 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 3.807e-06/0.1194, allocations: 0 / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=160): time 0.005795/0.1252, allocations: 3.889 MB / 1.015 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1253, allocations: 72.7 kB / 1.015 GB, free: 8.859 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1265, allocations: 1.581 MB / 1.016 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/0.1265, allocations: 57.64 kB / 1.016 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009284/0.1275, allocations: 2.242 MB / 1.018 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.1278, allocations: 0.5927 MB / 1.019 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.1282, allocations: 405.9 kB / 1.019 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1283, allocations: 480.7 kB / 1.02 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.1289, allocations: 380.2 kB / 1.02 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.13, allocations: 1.36 MB / 1.022 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.1317, allocations: 1.918 MB / 1.023 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.1317, allocations: 8 kB / 1.023 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002864/0.1346, allocations: 2.37 MB / 1.026 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.1346, allocations: 16 kB / 1.026 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1346, allocations: 23.94 kB / 1.026 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.1362, allocations: 0.7384 MB / 1.027 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.137, allocations: 431.2 kB / 1.027 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.1508, allocations: 23.09 MB / 1.049 GB, free: 2.668 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.1524, allocations: 119.9 kB / 1.05 GB, free: 2.551 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.1526, allocations: 99.98 kB / 1.05 GB, free: 2.453 MB / 1.01 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.001203/0.1538, allocations: 303.9 kB / 1.05 GB, free: 2.145 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.1544, allocations: 302.4 kB / 1.05 GB, free: 1.848 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.1571, allocations: 1.724 MB / 1.052 GB, free: 64 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.1571, allocations: 12 kB / 1.052 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.1571, allocations: 15.98 kB / 1.052 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1571, allocations: 7.969 kB / 1.052 GB, free: 28 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5707/0.7278, allocations: 5.005 MB / 1.057 GB, free: 154.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.7278, allocations: 6.406 kB / 1.057 GB, free: 154.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.7283, allocations: 223.2 kB / 1.057 GB, free: 154.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.73, allocations: 0.6902 MB / 1.058 GB, free: 154.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7301, allocations: 27.5 kB / 1.058 GB, free: 154.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.7404, allocations: 23.05 MB / 1.08 GB, free: 133.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7404, allocations: 9.344 kB / 1.08 GB, free: 133.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.7438, allocations: 2.01 MB / 1.082 GB, free: 132.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/0.7447, allocations: 432.5 kB / 1.083 GB, free: 132.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7449, allocations: 33.3 kB / 1.083 GB, free: 132.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.7455, allocations: 91.69 kB / 1.083 GB, free: 132.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.7459, allocations: 151 kB / 1.083 GB, free: 132.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.746, allocations: 43.84 kB / 1.083 GB, free: 132.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001005/0.747, allocations: 0.896 MB / 1.084 GB, free: 132.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.9e-07/0.747, allocations: 0 / 1.084 GB, free: 132.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003183/0.7502, allocations: 0.9057 MB / 1.085 GB, free: 132.7 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,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.0004072/0.7506, allocations: 163.4 kB / 1.085 GB, free: 132.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004465/0.7551, allocations: 3.721 MB / 1.089 GB, free: 130.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.7551, allocations: 5.219 kB / 1.089 GB, free: 130.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.7578, allocations: 3.001 MB / 1.091 GB, free: 128.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.7609, allocations: 0.7618 MB / 1.092 GB, free: 128.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.7739, allocations: 7.006 MB / 1.099 GB, free: 125.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/0.7765, allocations: 1.175 MB / 1.1 GB, free: 125.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002246/0.7788, allocations: 440.7 kB / 1.101 GB, free: 125.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7793, allocations: 134.2 kB / 1.101 GB, free: 125.1 MB / 1.01 GB Notification: Performance of SimCode: time 4.278e-06/0.7793, allocations: 0 / 1.101 GB, free: 125.1 MB / 1.01 GB Notification: Performance of Templates: time 0.08191/0.8612, allocations: 42.74 MB / 1.142 GB, free: 119 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 7.27205653116107]