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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001754/0.001754, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001857/0.001856, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.5 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.84 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003885/0.3542, allocations: 1.767 MB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.3544, allocations: 79.69 kB / 1.029 GB, free: 256 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.3545, allocations: 0 / 1.029 GB, free: 256 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.3546, allocations: 11.86 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.3547, allocations: 27.73 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.3548, allocations: 35.95 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3549, allocations: 103.7 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3551, allocations: 49.09 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3552, allocations: 35.91 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.3553, allocations: 51.72 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.3554, allocations: 12 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.3554, allocations: 12 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.3554, allocations: 27.89 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.3555, allocations: 51.73 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3557, allocations: 123.5 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.3557, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3557, allocations: 4 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3557, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 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.0007402/0.3565, allocations: 419.1 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3565, allocations: 8.031 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.3566, allocations: 12.84 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3568, allocations: 204.1 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3568, allocations: 4.375 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3569, allocations: 8.375 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.3572, allocations: 123.9 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3573, allocations: 192 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3573, allocations: 11.92 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3573, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.3577, allocations: 119.9 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.3582, allocations: 380.4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.3586, allocations: 98.45 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3588, allocations: 60.92 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3588, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3589, allocations: 34.56 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3589, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006756/0.3596, allocations: 197.3 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3596, allocations: 55.41 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3597, allocations: 128.6 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3597, allocations: 29.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.3598, allocations: 107.9 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3599, allocations: 27.62 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.3599, allocations: 21.72 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.36, allocations: 318.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3602, allocations: 55.89 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3604, allocations: 47.94 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3608, allocations: 112.7 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3608, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004098/0.3612, allocations: 141.5 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3612, allocations: 8 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3612, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3612, allocations: 11.92 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3614, allocations: 23.97 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3614, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3615, allocations: 15.89 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3615, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 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.784e-05/0.3616, allocations: 125.8 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3617, allocations: 8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.3617, allocations: 12.38 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3617, allocations: 3.938 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3617, allocations: 448 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3617, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.362, allocations: 201.5 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.362, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3622, allocations: 27.91 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3622, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3622, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3622, allocations: 3.938 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3622, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.3627, allocations: 239.3 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.3627, allocations: 85.05 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3627, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3629, allocations: 23.91 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.363, allocations: 7.984 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.363, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.363, allocations: 99.27 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.363, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002274/0.3633, allocations: 19.91 kB / 1.033 GB, free: 11.8 MB / 0.8106 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.000159/0.3634, allocations: 107.2 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.3639, allocations: 107.9 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3639, allocations: 3.938 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3641, allocations: 63.94 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3644, allocations: 11.98 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.3649, allocations: 206.4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3652, allocations: 0.7002 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.3653, allocations: 4 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.3653, allocations: 11.44 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3653, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of Templates: time 0.003328/0.3686, allocations: 1.092 MB / 1.035 GB, free: 9.457 MB / 0.8106 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 -s gbode -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