Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.0008795/0.0008795, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008384/0.0008384, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9037/0.9037, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.736/1.736, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.538e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00559/0.005615, allocations: 6.386 MB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.009524, allocations: 3.004 MB / 1.01 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.01005, allocations: 35.69 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.01146, allocations: 0.9551 MB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.01249, allocations: 0.5318 MB / 1.012 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.01332, allocations: 437.5 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.01445, allocations: 1.259 MB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.01522, allocations: 0.5334 MB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.01602, allocations: 0.6663 MB / 1.014 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.01657, allocations: 474.7 kB / 1.015 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.01665, allocations: 68 kB / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.01719, allocations: 343.2 kB / 1.015 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.01741, allocations: 331 kB / 1.016 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01764, allocations: 315.2 kB / 1.016 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01904, allocations: 1.254 MB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01904, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.552e-06/0.01905, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.01907, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 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.001554/0.02063, allocations: 1.096 MB / 1.018 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02067, allocations: 8.031 kB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.02157, allocations: 244.1 kB / 1.018 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.02223, allocations: 0.5223 MB / 1.019 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.02226, allocations: 49.67 kB / 1.019 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.02233, allocations: 64.36 kB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.02343, allocations: 1.34 MB / 1.02 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.02345, allocations: 8.125 kB / 1.02 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.0235, allocations: 36.3 kB / 1.02 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.02361, allocations: 89.19 kB / 1.02 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.02435, allocations: 0.7465 MB / 1.021 GB, free: 7.969 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.02766, allocations: 4.507 MB / 1.026 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.02832, allocations: 0.5127 MB / 1.026 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.02859, allocations: 286.2 kB / 1.026 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.02862, allocations: 4.5 kB / 1.026 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.02865, allocations: 39.06 kB / 1.026 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.02865, allocations: 3.938 kB / 1.026 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.002316/0.03096, allocations: 1.681 MB / 1.028 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.031, allocations: 55.91 kB / 1.028 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.03139, allocations: 0.5105 MB / 1.029 GB, free: 160 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.03142, allocations: 29.7 kB / 1.029 GB, free: 124 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.03161, allocations: 431.9 kB / 1.029 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.0317, allocations: 174.4 kB / 1.029 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.03183, allocations: 122.6 kB / 1.029 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.03194, allocations: 370.8 kB / 1.03 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.03221, allocations: 277.8 kB / 1.03 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.03256, allocations: 496.9 kB / 1.03 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.03351, allocations: 0.8085 MB / 1.031 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.03352, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001116/0.03463, allocations: 1.078 MB / 1.032 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.03465, allocations: 8 kB / 1.032 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.03466, allocations: 8 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.03519, allocations: 279.5 kB / 1.033 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.03545, allocations: 127.8 kB / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.03971, allocations: 6.591 MB / 1.039 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.04009, allocations: 43.95 kB / 1.039 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.04012, allocations: 31.94 kB / 1.039 GB, free: 4.668 MB / 0.9948 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.0002871/0.04041, allocations: 249.7 kB / 1.039 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.04047, allocations: 63.62 kB / 1.039 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/0.04141, allocations: 0.8817 MB / 1.04 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.04141, allocations: 4 kB / 1.04 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.04141, allocations: 4 kB / 1.04 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.04142, allocations: 4 kB / 1.04 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.04298, allocations: 1.517 MB / 1.042 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.04298, allocations: 0 / 1.042 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.04312, allocations: 63.89 kB / 1.042 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.04353, allocations: 267.4 kB / 1.042 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.04355, allocations: 12 kB / 1.042 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.04745, allocations: 6.603 MB / 1.049 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04745, allocations: 3.938 kB / 1.049 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.0484, allocations: 0.9698 MB / 1.05 GB, free: 9.469 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.04857, allocations: 107.6 kB / 1.05 GB, free: 9.363 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.04861, allocations: 12 kB / 1.05 GB, free: 9.352 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.0488, allocations: 28.02 kB / 1.05 GB, free: 9.324 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.04888, allocations: 51.86 kB / 1.05 GB, free: 9.273 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.0489, allocations: 16 kB / 1.05 GB, free: 9.258 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002541/0.04916, allocations: 342.8 kB / 1.05 GB, free: 8.926 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.04916, allocations: 0 / 1.05 GB, free: 8.926 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000577/0.04973, allocations: 220 kB / 1.05 GB, free: 8.711 MB / 1.01 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.0001296/0.04986, allocations: 111.1 kB / 1.05 GB, free: 8.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.05134, allocations: 1.229 MB / 1.052 GB, free: 7.312 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.05135, allocations: 0 / 1.052 GB, free: 7.312 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.05202, allocations: 0.8658 MB / 1.052 GB, free: 6.395 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.05264, allocations: 201.9 kB / 1.053 GB, free: 6.207 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.05424, allocations: 1.395 MB / 1.054 GB, free: 4.754 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.05452, allocations: 419.3 kB / 1.054 GB, free: 4.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.05463, allocations: 48.44 kB / 1.054 GB, free: 4.273 MB / 1.01 GB Notification: Performance of SimCode: time 1.533e-06/0.05463, allocations: 0 / 1.054 GB, free: 4.273 MB / 1.01 GB Notification: Performance of Templates: time 0.4115/0.4661, allocations: 20.69 MB / 1.075 GB, free: 94.06 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.61773095652461]