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.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.001295/0.001295, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001491/0.001491, allocations: 216.3 kB / 23.04 MB, free: 4.863 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.72 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4314, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003496/0.4349, allocations: 1.745 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.4351, allocations: 75.73 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.4352, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.4352, allocations: 7.875 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.4353, allocations: 19.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.4354, allocations: 31.97 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.4356, allocations: 111.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.4358, allocations: 49.17 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.4358, allocations: 43.83 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.4359, allocations: 43.77 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.436, allocations: 12 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.436, allocations: 8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4361, allocations: 27.92 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.4361, allocations: 39.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.4363, allocations: 115.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4363, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4363, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4363, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 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.0007109/0.437, allocations: 353.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4371, allocations: 12.03 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.4371, allocations: 8.891 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4373, allocations: 142.3 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4374, allocations: 8.375 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4374, allocations: 8.375 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.4377, allocations: 134.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4378, allocations: 192 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4378, allocations: 7.938 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4378, allocations: 7.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.4382, allocations: 133.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.4388, allocations: 296.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.4391, allocations: 82.52 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.4393, allocations: 60.92 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4394, allocations: 30.56 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4394, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007241/0.4401, allocations: 197.6 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4401, allocations: 59.34 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4402, allocations: 123.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4403, allocations: 25.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.4403, allocations: 112 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.4404, allocations: 19.84 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.4404, allocations: 17.72 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4406, allocations: 322.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.4408, allocations: 51.94 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.441, allocations: 51.94 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.4414, allocations: 112.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4414, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000444/0.4418, allocations: 137.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4418, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4418, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4419, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.442, allocations: 27.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.442, allocations: 3.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4421, allocations: 28.34 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4421, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 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 9.629e-05/0.4422, allocations: 114.4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4423, allocations: 7.953 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.4423, allocations: 16.36 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4423, allocations: 7.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4423, allocations: 7.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4423, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.4425, allocations: 129.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4425, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.4426, allocations: 31.97 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4426, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4426, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4426, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4426, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.4431, allocations: 247.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.4432, allocations: 11.89 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4432, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4433, allocations: 15.97 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.4434, allocations: 23.86 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4434, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.4434, allocations: 97.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4434, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002328/0.4437, allocations: 27.89 kB / 1.333 GB, free: 11.11 MB / 1.029 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.0001388/0.4438, allocations: 95.25 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.4443, allocations: 115.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4443, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.4445, allocations: 59.88 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4448, allocations: 8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.4453, allocations: 228.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.4454, allocations: 88.11 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.4455, allocations: 11.44 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.4455, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of Templates: time 0.003162/0.4486, allocations: 1.255 MB / 1.334 GB, free: 9.203 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.368664277950302]