Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_10_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_10_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.0008914/0.0008915, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009219/0.000922, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.981/2.981, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7735, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00215/0.7757, allocations: 1.447 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.7759, allocations: 75.73 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.7759, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.776, allocations: 7.938 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.7761, allocations: 15.84 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.917e-05/0.7762, allocations: 19.98 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.7763, allocations: 99.69 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.7765, allocations: 33.3 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.7766, allocations: 35.83 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.7766, allocations: 39.78 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.7767, allocations: 8 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.7767, allocations: 7.938 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.7767, allocations: 11.92 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.7767, allocations: 37.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.7769, allocations: 77.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7769, allocations: 0 / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.256e-06/0.7769, allocations: 0 / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7769, allocations: 3.938 kB / 1.024 GB, free: 14.1 MB / 0.7794 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.0006336/0.7775, allocations: 434.9 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7776, allocations: 8.562 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.7776, allocations: 7.906 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.7778, allocations: 194.9 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7779, allocations: 15.95 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.7779, allocations: 8 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.7783, allocations: 143.4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7783, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7783, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7783, allocations: 4 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.7788, allocations: 151.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.7793, allocations: 380.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.7797, allocations: 106.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.7799, allocations: 84.86 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.78, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.78, allocations: 38.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.78, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007137/0.7807, allocations: 245.4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.7808, allocations: 51.41 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.7809, allocations: 131.9 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7809, allocations: 25.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.781, allocations: 104 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.781, allocations: 19.7 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.781, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7811, allocations: 322.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7813, allocations: 67.94 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.7815, allocations: 67.89 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.7817, allocations: 71.94 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7818, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004356/0.7822, allocations: 177.4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7822, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7822, allocations: 7.984 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7823, allocations: 3.984 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.7824, allocations: 31.97 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.7824, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.7825, allocations: 35.92 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.7826, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.7827, allocations: 125.7 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.7827, allocations: 7.906 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.7827, allocations: 8.375 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7827, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7828, allocations: 8 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7828, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.783, allocations: 201.6 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.783, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.7831, allocations: 35.97 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7831, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.7831, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7832, allocations: 8 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7832, allocations: 448 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.7837, allocations: 275.3 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.7837, allocations: 85.02 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.7837, allocations: 7.938 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.7839, allocations: 23.97 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.7839, allocations: 11.98 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.784, allocations: 7.938 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.784, allocations: 91.27 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.784, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002269/0.7843, allocations: 27.94 kB / 1.028 GB, free: 9.988 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.7844, allocations: 103.2 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.7848, allocations: 143.9 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7849, allocations: 0 / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7851, allocations: 75.89 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.7855, allocations: 30.31 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.7859, allocations: 237.1 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.7862, allocations: 0.7004 MB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.963e-05/0.7863, allocations: 4.188 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.7863, allocations: 7.438 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7863, allocations: 4 kB / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.003046/0.7894, allocations: 0.8383 MB / 1.03 GB, free: 7.809 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches