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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005514/0.005514, allocations: 103.4 kB / 15.73 MB, free: 6 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.001164/0.001164, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 68.11 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7595, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003002/0.7626, allocations: 1.762 MB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.7628, allocations: 83.67 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.7629, allocations: 0 / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.7629, allocations: 7.875 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.763, allocations: 27.78 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.7632, allocations: 27.97 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.7633, allocations: 115.7 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.7635, allocations: 47.36 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.7636, allocations: 39.84 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.7636, allocations: 55.75 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.7637, allocations: 12 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.7637, allocations: 8 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.7637, allocations: 23.92 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.7638, allocations: 55.72 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.7639, allocations: 103.6 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7639, allocations: 8 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.764, allocations: 0 / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.764, allocations: 3.938 kB / 1.21 GB, free: 11.15 MB / 0.9356 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.0006663/0.7646, allocations: 431 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7647, allocations: 15.95 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.7647, allocations: 42.75 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.7648, allocations: 12.84 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.765, allocations: 200 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.765, allocations: 8.375 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.765, allocations: 8.375 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.7654, allocations: 120.1 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7654, allocations: 3.938 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7654, allocations: 8 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7654, allocations: 4 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.7659, allocations: 119.9 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.7664, allocations: 380.4 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.7667, allocations: 98.44 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.767, allocations: 52.94 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.767, allocations: 0 / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.767, allocations: 42.55 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.767, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0007478/0.7678, allocations: 193.5 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7678, allocations: 55.34 kB / 1.211 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.7679, allocations: 131.9 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.768, allocations: 25.7 kB / 1.211 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.768, allocations: 108 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.7681, allocations: 19.66 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.7681, allocations: 17.72 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7682, allocations: 322.8 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.7685, allocations: 47.95 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.7687, allocations: 51.94 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.7691, allocations: 109.1 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7691, allocations: 0 / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004597/0.7696, allocations: 149.4 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7696, allocations: 10.19 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7696, allocations: 0 / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7696, allocations: 7.938 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.7698, allocations: 23.97 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7698, allocations: 0 / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.7699, allocations: 19.97 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7699, allocations: 3.938 kB / 1.212 GB, free: 8.133 MB / 0.9356 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 8.507e-05/0.77, allocations: 121.8 kB / 1.212 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.77, allocations: 7.906 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.7701, allocations: 12.31 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7701, allocations: 11.92 kB / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7701, allocations: 0 / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7701, allocations: 0 / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.7703, allocations: 197.6 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7703, allocations: 0 / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.7705, allocations: 23.97 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7705, allocations: 8 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7705, allocations: 3.938 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7705, allocations: 3.938 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7705, allocations: 0 / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.771, allocations: 239.3 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.7711, allocations: 85.02 kB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.7711, allocations: 7.938 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.7712, allocations: 19.97 kB / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.7713, allocations: 7.984 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.7713, allocations: 4.125 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.7713, allocations: 95.27 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7714, allocations: 4 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002216/0.7716, allocations: 15.94 kB / 1.213 GB, free: 7.184 MB / 0.9356 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.0008393/0.7724, allocations: 0.7845 MB / 1.214 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.7729, allocations: 115.8 kB / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7729, allocations: 0 / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.7732, allocations: 59.89 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.7735, allocations: 11.98 kB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.7758, allocations: 1.589 MB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.7761, allocations: 0.7002 MB / 1.216 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.7761, allocations: 4 kB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.7762, allocations: 27.42 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.7762, allocations: 7.938 kB / 1.216 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.7954, allocations: 2.291 MB / 1.219 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/8.143, allocations: 8.031 kB / 1.219 GB, free: 1.605 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > 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/jenkins1/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