Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.472/3.472, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 72.97 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4762, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00356/0.4798, allocations: 1.785 MB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002151/0.48, allocations: 83.66 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.4801, allocations: 4 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.4801, allocations: 7.875 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.4802, allocations: 23.78 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.4803, allocations: 27.97 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.4805, allocations: 107.7 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4807, allocations: 44.98 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.4808, allocations: 43.84 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4809, allocations: 51.77 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.4809, allocations: 12 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.4809, allocations: 8 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.481, allocations: 31.91 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.481, allocations: 47.73 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.4812, allocations: 115.5 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4812, allocations: 4 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4812, allocations: 0 / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4812, allocations: 0 / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007765/0.482, allocations: 349.9 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4821, allocations: 8.031 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.4821, allocations: 20.84 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.4824, allocations: 146.3 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4824, allocations: 384 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4824, allocations: 12.38 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.4828, allocations: 130.1 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4828, allocations: 192 / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4828, allocations: 3.938 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4828, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.4833, allocations: 122.1 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.4839, allocations: 351.6 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4843, allocations: 94.44 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.4845, allocations: 56.94 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4845, allocations: 0 / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4846, allocations: 34.56 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.4846, allocations: 0 / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0008038/0.4854, allocations: 201.6 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4854, allocations: 51.41 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4856, allocations: 127.6 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4856, allocations: 29.7 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.4856, allocations: 104 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4857, allocations: 23.83 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4857, allocations: 17.72 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4859, allocations: 322.8 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.4861, allocations: 51.95 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.4863, allocations: 51.88 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.4868, allocations: 108.8 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4868, allocations: 0 / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004868/0.4873, allocations: 145.5 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4873, allocations: 13.72 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4873, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4873, allocations: 3.938 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4875, allocations: 27.91 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4875, allocations: 4 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.4876, allocations: 19.88 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.4876, allocations: 3.984 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4877, allocations: 129.8 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.4878, allocations: 0 / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.4878, allocations: 12.38 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4878, allocations: 3.938 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4878, allocations: 448 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4878, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.4881, allocations: 176.6 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4881, allocations: 4 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4882, allocations: 23.97 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4882, allocations: 4 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.4882, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4882, allocations: 3.938 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4882, allocations: 4 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.4888, allocations: 243.3 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.4888, allocations: 11.94 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4888, allocations: 4 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.489, allocations: 19.91 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.489, allocations: 11.98 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4891, allocations: 0 / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.4891, allocations: 95.27 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4891, allocations: 0 / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002362/0.4894, allocations: 27.94 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.4896, allocations: 96.05 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.4901, allocations: 111.8 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4901, allocations: 7.938 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.4903, allocations: 59.89 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4907, allocations: 7.984 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.4913, allocations: 203.3 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4916, allocations: 0.7002 MB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.4917, allocations: 7.922 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.4917, allocations: 11.44 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.4917, allocations: 0 / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of Templates: time 0.004623/0.4963, allocations: 1.119 MB / 1.315 GB, free: 9.457 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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: 10.071887492202222]