Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001038/0.001038, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009868/0.0009868, allocations: 173 kB / 23.49 MB, free: 1.055 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.9178/0.9178, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.207/2.207, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.208e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009623/0.009645, allocations: 11.02 MB / 0.8889 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009033/0.01868, allocations: 8.939 MB / 0.8977 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.01941, allocations: 87.25 kB / 0.8978 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.02161, allocations: 1.711 MB / 0.8994 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.02428, allocations: 1.62 MB / 0.901 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.02541, allocations: 0.6701 MB / 0.9017 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.02719, allocations: 2.371 MB / 0.904 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.0283, allocations: 1.145 MB / 0.9051 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.02967, allocations: 1.543 MB / 0.9066 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/0.0305, allocations: 0.8725 MB / 0.9075 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.03065, allocations: 136 kB / 0.9076 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.0315, allocations: 0.7443 MB / 0.9083 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.0319, allocations: 0.6036 MB / 0.9089 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.03236, allocations: 0.6039 MB / 0.9095 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.0339, allocations: 1.701 MB / 0.9112 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.0339, allocations: 0 / 0.9112 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.03391, allocations: 4 kB / 0.9112 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.03392, allocations: 0 / 0.9112 GB, free: 4.812 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001987/0.03591, allocations: 2.08 MB / 0.9132 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.03595, allocations: 8.031 kB / 0.9132 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.04071, allocations: 1.727 MB / 0.9149 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.042, allocations: 1.159 MB / 0.916 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.04205, allocations: 82.61 kB / 0.9161 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.04221, allocations: 136.2 kB / 0.9162 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.04441, allocations: 1.861 MB / 0.918 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.04445, allocations: 11.88 kB / 0.9181 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.04456, allocations: 51.98 kB / 0.9181 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.04476, allocations: 126.1 kB / 0.9182 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.04591, allocations: 0.7661 MB / 0.919 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.05206, allocations: 7.961 MB / 0.9267 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.0533, allocations: 0.6137 MB / 0.9273 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.05366, allocations: 241 kB / 0.9276 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.0537, allocations: 12.5 kB / 0.9276 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.05374, allocations: 41.89 kB / 0.9276 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 2.666e-06/0.05374, allocations: 3.938 kB / 0.9276 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.005522/0.05926, allocations: 3.091 MB / 0.9307 GB, free: 236 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.0593, allocations: 60.06 kB / 0.9307 GB, free: 164 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.06014, allocations: 0.9282 MB / 0.9316 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.06021, allocations: 41.7 kB / 0.9317 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.06063, allocations: 0.8156 MB / 0.9325 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.06083, allocations: 301.4 kB / 0.9327 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.06108, allocations: 196.2 kB / 0.9329 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.06123, allocations: 0.516 MB / 0.9334 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.0617, allocations: 313.8 kB / 0.9337 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.0623, allocations: 0.6261 MB / 0.9343 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.06337, allocations: 0.9692 MB / 0.9353 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.06337, allocations: 0 / 0.9353 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002402/0.06577, allocations: 1.605 MB / 0.9369 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.0658, allocations: 10.34 kB / 0.9369 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.06581, allocations: 8 kB / 0.9369 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.06781, allocations: 0.7395 MB / 0.9376 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.0685, allocations: 295.5 kB / 0.9379 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009/0.0775, allocations: 15.68 MB / 0.9532 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.07824, allocations: 179.7 kB / 0.9534 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.07831, allocations: 51.97 kB / 0.9534 GB, free: 7.555 MB / 0.9167 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0003471/0.07866, allocations: 216.4 kB / 0.9536 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.07887, allocations: 159.2 kB / 0.9538 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.08119, allocations: 1.428 MB / 0.9552 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.08119, allocations: 11.94 kB / 0.9552 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.0812, allocations: 11.94 kB / 0.9552 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.08121, allocations: 7.984 kB / 0.9552 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.08478, allocations: 2.657 MB / 0.9578 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.08479, allocations: 352 / 0.9578 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.08532, allocations: 251.5 kB / 0.958 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.08709, allocations: 0.6921 MB / 0.9587 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.08715, allocations: 35.91 kB / 0.9587 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008256/0.0954, allocations: 15.63 MB / 0.974 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.09541, allocations: 4.188 kB / 0.974 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.09748, allocations: 1.486 MB / 0.9755 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.09783, allocations: 287 kB / 0.9757 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.09794, allocations: 27.92 kB / 0.9758 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.09857, allocations: 179.6 kB / 0.9759 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.09874, allocations: 80.5 kB / 0.976 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.09879, allocations: 43.91 kB / 0.976 GB, free: 15.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004852/0.09928, allocations: 0.5759 MB / 0.9766 GB, free: 14.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.09928, allocations: 0 / 0.9766 GB, free: 14.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001109/0.1004, allocations: 448 kB / 0.977 GB, free: 14.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002379/0.1006, allocations: 119.2 kB / 0.9771 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.1032, allocations: 2.502 MB / 0.9796 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1032, allocations: 0 / 0.9796 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.1048, allocations: 2.046 MB / 0.9816 GB, free: 9.098 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.106, allocations: 0.4998 MB / 0.9821 GB, free: 8.613 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.1098, allocations: 2.822 MB / 0.9848 GB, free: 5.703 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1101, allocations: 387.3 kB / 0.9852 GB, free: 5.297 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006639/0.1107, allocations: 310.6 kB / 0.9855 GB, free: 4.988 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.111, allocations: 100.4 kB / 0.9856 GB, free: 4.891 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/0.111, allocations: 0 / 0.9856 GB, free: 4.891 MB / 0.948 GB Notification: Performance of Templates: time 0.03341/0.1444, allocations: 31.84 MB / 1.017 GB, free: 5.668 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.4536945938598365]