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.005379/0.005379, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00128/0.00128, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.899/2.899, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 59.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3742, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003611/0.3779, allocations: 1.753 MB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.3782, allocations: 79.67 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.3783, allocations: 4 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.917e-05/0.3784, allocations: 11.86 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.3785, allocations: 15.8 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3786, allocations: 31.97 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3788, allocations: 107.7 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.379, allocations: 49.09 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.3791, allocations: 39.86 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3792, allocations: 55.77 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3792, allocations: 8 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.3792, allocations: 12 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.3793, allocations: 27.91 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.3793, allocations: 51.72 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3795, allocations: 115.5 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3795, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3795, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3796, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 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.000778/0.3803, allocations: 431 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3804, allocations: 12.03 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.3805, allocations: 12.75 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3807, allocations: 200.2 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3808, allocations: 12.31 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3808, allocations: 4.375 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.3812, allocations: 130.1 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3812, allocations: 192 / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3812, allocations: 7.938 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3812, allocations: 4 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3817, allocations: 123.9 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.3823, allocations: 376.4 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.3826, allocations: 86.52 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3829, allocations: 68.86 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3829, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3829, allocations: 30.56 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3829, allocations: 4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007582/0.3837, allocations: 197.4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3838, allocations: 51.41 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3839, allocations: 123.8 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3839, allocations: 29.7 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.384, allocations: 112 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.384, allocations: 19.64 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.384, allocations: 17.72 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3842, allocations: 318.8 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3844, allocations: 55.88 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.3846, allocations: 51.94 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.385, allocations: 109.1 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.385, allocations: 0 / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004669/0.3855, allocations: 141.5 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3855, allocations: 9.969 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3855, allocations: 0 / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3856, allocations: 3.938 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3857, allocations: 35.91 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3858, allocations: 7.984 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3859, allocations: 15.98 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3859, allocations: 0 / 1.213 GB, free: 4.32 MB / 0.9669 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.818e-05/0.386, allocations: 113.8 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.386, allocations: 11.89 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3861, allocations: 12.38 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3861, allocations: 11.92 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3861, allocations: 0 / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3861, allocations: 4 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3863, allocations: 201.6 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3863, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3865, allocations: 23.97 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3865, allocations: 3.938 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3865, allocations: 4 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3865, allocations: 3.938 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3865, allocations: 0 / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.3871, allocations: 243.3 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.3871, allocations: 88.95 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3871, allocations: 0 / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.3873, allocations: 32.03 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.3873, allocations: 0 / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3874, allocations: 11.98 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.3874, allocations: 101.9 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3874, allocations: 0 / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002386/0.3877, allocations: 12 kB / 1.214 GB, free: 3.363 MB / 0.9669 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.0001423/0.3878, allocations: 103.2 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3883, allocations: 115.8 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3883, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3886, allocations: 55.94 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.389, allocations: 18.05 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.3895, allocations: 202.4 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3898, allocations: 0.7027 MB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.3899, allocations: 7.938 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.3899, allocations: 11.44 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3899, allocations: 3.938 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of Templates: time 0.003732/0.3937, allocations: 1.089 MB / 1.216 GB, free: 1.02 MB / 0.9669 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