Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0008734/0.0008734, allocations: 80.48 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.0009034/0.0009034, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9387/0.9387, allocations: 177.2 MB / 203.5 MB, free: 5.719 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.744/1.744, allocations: 389 MB / 0.6338 GB, free: 12.69 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.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.137e-05, allocations: 5.234 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001991/0.002012, allocations: 1.726 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.002157, allocations: 87.73 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.002202, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.00224, allocations: 11.86 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.002296, allocations: 23.73 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.951e-05/0.002385, allocations: 31.97 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.0025, allocations: 107.7 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.002647, allocations: 41.2 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.002725, allocations: 63.88 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.002773, allocations: 35.89 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.002802, allocations: 12 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.002814, allocations: 12 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.002837, allocations: 27.91 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.002873, allocations: 27.92 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00301, allocations: 119.6 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.003015, allocations: 7.984 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003015, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00302, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 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.0004628/0.003482, allocations: 353.9 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.003518, allocations: 9.344 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.003551, allocations: 16.84 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.003707, allocations: 137.6 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.003719, allocations: 8.375 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.003732, allocations: 8.375 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.003957, allocations: 136.3 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003965, allocations: 192 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.003979, allocations: 8.375 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003983, allocations: 384 / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.004216, allocations: 123.8 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.004568, allocations: 296.2 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.004782, allocations: 82.52 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.004897, allocations: 64.86 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.004909, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.004927, allocations: 46.5 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.004928, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004041/0.005332, allocations: 185.7 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.005365, allocations: 59.41 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.005436, allocations: 128.6 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005447, allocations: 29.64 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.005636, allocations: 112 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.005658, allocations: 19.86 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.005688, allocations: 21.7 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.005759, allocations: 314.8 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.005867, allocations: 55.88 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.005967, allocations: 55.94 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.006169, allocations: 104.8 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.006171, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002324/0.006403, allocations: 137.6 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006415, allocations: 8 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00642, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006432, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.00651, allocations: 23.97 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.006515, allocations: 7.938 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.00657, allocations: 23.92 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.006578, allocations: 7.938 kB / 1.006 GB, free: 7.922 MB / 0.9636 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 6.515e-05/0.006643, allocations: 117.8 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.006657, allocations: 7.953 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.006677, allocations: 16.42 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006679, allocations: 0 / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006682, allocations: 0 / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006685, allocations: 0 / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.006791, allocations: 137.7 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006792, allocations: 4 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.006856, allocations: 27.97 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006857, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006864, allocations: 4 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006865, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006866, allocations: 4 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.007123, allocations: 243.3 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.007131, allocations: 11.89 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.007142, allocations: 0 / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.007208, allocations: 23.97 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.007249, allocations: 3.984 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.007253, allocations: 4 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.007295, allocations: 99.27 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007295, allocations: 4 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001488/0.007444, allocations: 15.94 kB / 1.006 GB, free: 7.16 MB / 0.9636 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 7.142e-05/0.007515, allocations: 99.25 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.007773, allocations: 111.8 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.007775, allocations: 8 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.007882, allocations: 55.89 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.008098, allocations: 11.98 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.008445, allocations: 222.8 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.427e-05/0.008499, allocations: 92.31 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.008537, allocations: 12.5 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.008537, allocations: 0 / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of Templates: time 0.001793/0.01033, allocations: 1.246 MB / 1.008 GB, free: 5.254 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.8228552509099245]