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: 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.001764/0.001764, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001978/0.001978, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9918, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003323/0.9952, allocations: 1.768 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.9954, allocations: 75.75 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.9955, allocations: 0 / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.9956, allocations: 11.86 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.9957, allocations: 23.8 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.9958, allocations: 31.95 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.996, allocations: 107.7 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.9962, allocations: 49.11 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.9963, allocations: 39.84 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.9964, allocations: 59.69 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.9964, allocations: 15.94 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.9964, allocations: 8 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.9964, allocations: 23.92 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.9965, allocations: 47.73 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.9967, allocations: 115.3 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9967, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9967, allocations: 4 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9967, allocations: 4 kB / 1.211 GB, free: 11.29 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.000707/0.9974, allocations: 429 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9975, allocations: 8.031 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.9975, allocations: 16.78 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.9978, allocations: 204 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.9978, allocations: 8.375 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.9978, allocations: 4.375 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.9982, allocations: 126.2 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.9982, allocations: 192 / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.9983, allocations: 11.94 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9983, allocations: 0 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.9987, allocations: 129.2 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.9993, allocations: 372.4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.9997, allocations: 94.5 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.9999, allocations: 60.92 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1, allocations: 34.56 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0007774/1.001, allocations: 193.4 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/1.001, allocations: 55.41 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.001, allocations: 128.4 kB / 1.213 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/1.001, allocations: 25.7 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/1.001, allocations: 111.9 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/1.001, allocations: 23.66 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/1.001, allocations: 17.72 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.001, allocations: 318.8 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.001, allocations: 51.94 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/1.002, allocations: 48.33 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/1.002, allocations: 112.8 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.002, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004957/1.003, allocations: 145.4 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.003, allocations: 4 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.003, allocations: 4 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.003, allocations: 7.938 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/1.003, allocations: 31.91 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.003, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/1.003, allocations: 19.97 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.003, allocations: 0 / 1.213 GB, free: 8.32 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 9.995e-05/1.003, allocations: 113.8 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/1.003, allocations: 15.84 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/1.003, allocations: 12.38 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.003, allocations: 7.922 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.003, allocations: 0 / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.003, allocations: 0 / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/1.003, allocations: 201.6 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.003, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/1.004, allocations: 27.97 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.004, allocations: 0 / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.004, allocations: 0 / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/1.004, allocations: 11.92 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.004, allocations: 0 / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/1.004, allocations: 235.4 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/1.004, allocations: 85.14 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/1.004, allocations: 7.984 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.004, allocations: 23.92 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/1.005, allocations: 7.984 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.005, allocations: 0 / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.058e-05/1.005, allocations: 103.2 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.2e-07/1.005, allocations: 0 / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002387/1.005, allocations: 19.94 kB / 1.214 GB, free: 7.367 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.0001253/1.005, allocations: 99.25 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005044/1.005, allocations: 111.9 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.005, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.006, allocations: 67.88 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/1.006, allocations: 8 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/1.007, allocations: 224.2 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.007, allocations: 0.7041 MB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/1.007, allocations: 11.44 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/1.007, allocations: 0 / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of Templates: time 0.003004/1.01, allocations: 1.209 MB / 1.217 GB, free: 4.887 MB / 0.9356 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/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