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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,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=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.001711, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002232, allocations: 194.4 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.7 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 71.2 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4319, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003129/0.4351, allocations: 1.806 MB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.4353, allocations: 79.67 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.4354, allocations: 4 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.4354, allocations: 7.938 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.4355, allocations: 15.84 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.4356, allocations: 27.97 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4358, allocations: 99.7 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.4359, allocations: 53.09 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.436, allocations: 39.83 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.4361, allocations: 47.77 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.4361, allocations: 8 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.4361, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.4362, allocations: 19.92 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.4362, allocations: 43.73 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4364, allocations: 115.8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.4364, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4364, allocations: 3.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4364, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 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.0006901/0.4371, allocations: 427.1 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4372, allocations: 12.03 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.4372, allocations: 12.84 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4375, allocations: 196.1 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.4376, allocations: 8.375 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4376, allocations: 8.375 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.438, allocations: 127.6 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.438, allocations: 192 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.4381, allocations: 7.938 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4381, allocations: 11.94 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.4386, allocations: 111.9 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.4393, allocations: 392.3 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.4397, allocations: 94.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.44, allocations: 60.92 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.44, allocations: 3.938 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.44, allocations: 34.56 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4401, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0008351/0.4409, allocations: 193.7 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.441, allocations: 51.41 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4411, allocations: 128.2 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4411, allocations: 29.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.4412, allocations: 111.9 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.4412, allocations: 19.66 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.4413, allocations: 13.72 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4414, allocations: 322.8 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4416, allocations: 51.94 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.4419, allocations: 59.95 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.4423, allocations: 104.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4423, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004729/0.4427, allocations: 145.5 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4428, allocations: 4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4428, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4428, allocations: 7.938 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.443, allocations: 23.97 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.443, allocations: 4 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4431, allocations: 23.91 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4431, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 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.281e-05/0.4432, allocations: 117.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.4433, allocations: 11.84 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.4433, allocations: 8.375 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4433, allocations: 7.938 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4433, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4433, allocations: 7.984 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.4435, allocations: 193.6 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4436, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4437, allocations: 27.91 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4437, allocations: 4 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4437, allocations: 4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4437, allocations: 3.938 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4437, allocations: 192 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.4443, allocations: 243.3 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.4443, allocations: 92.95 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4443, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.4445, allocations: 27.91 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4446, allocations: 3.984 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4446, allocations: 8 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.576e-05/0.4446, allocations: 95.27 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4446, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.4449, allocations: 12 kB / 1.073 GB, free: 4.574 MB / 0.8262 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.0001445/0.445, allocations: 107.2 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4455, allocations: 115.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4455, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4458, allocations: 55.94 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4462, allocations: 18.39 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.4467, allocations: 232.2 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.447, allocations: 0.7004 MB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.4471, allocations: 7.938 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.4471, allocations: 7.438 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.4471, allocations: 0 / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of Templates: time 0.003225/0.4504, allocations: 0.8907 MB / 1.075 GB, free: 2.406 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) 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) Reference file matches