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.0009956/0.0009955, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008985/0.008985, allocations: 171 kB / 16.27 MB, free: 6.332 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 11.78 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3615, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002044/0.3636, allocations: 1.476 MB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.3638, allocations: 75.67 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.3639, allocations: 4 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.3639, allocations: 11.92 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.364, allocations: 11.86 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.3641, allocations: 31.97 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3642, allocations: 95.7 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3644, allocations: 45.11 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3644, allocations: 35.84 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.3645, allocations: 35.77 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3645, allocations: 4 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.3646, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.3646, allocations: 15.92 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.3647, allocations: 65.44 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3648, allocations: 103.8 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3648, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3648, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3648, allocations: 0 / 1.061 GB, free: 3.434 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.0006408/0.3655, allocations: 431.1 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3655, allocations: 8.031 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3655, allocations: 8.844 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3658, allocations: 206 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3658, allocations: 4.375 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3658, allocations: 8.375 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.3662, allocations: 147.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3662, allocations: 192 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3662, allocations: 7.938 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3662, allocations: 7.938 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.3667, allocations: 159.8 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3673, allocations: 384.4 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.3676, allocations: 106.5 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.3679, allocations: 76.92 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3679, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.368, allocations: 38.56 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.368, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0008615/0.3688, allocations: 249.4 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3689, allocations: 55.41 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.369, allocations: 129.7 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.369, allocations: 29.7 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3691, allocations: 107.9 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3691, allocations: 23.64 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.3691, allocations: 13.72 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.3693, allocations: 318.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3695, allocations: 71.94 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.3697, allocations: 63.95 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.3702, allocations: 140.7 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3702, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004974/0.3707, allocations: 177.5 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3707, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3707, allocations: 4 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3707, allocations: 3.938 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3709, allocations: 39.97 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3709, allocations: 0 / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3711, allocations: 27.97 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3711, allocations: 0 / 1.064 GB, free: 220 kB / 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 8.777e-05/0.3712, allocations: 121.8 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3712, allocations: 7.906 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3712, allocations: 12.38 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3712, allocations: 3.938 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3713, allocations: 4 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3713, allocations: 3.984 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3715, allocations: 193.6 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3715, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3716, allocations: 39.91 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3717, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.3717, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3717, allocations: 7.938 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3717, allocations: 448 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.3722, allocations: 275.3 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3723, allocations: 88.95 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3723, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3725, allocations: 35.84 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.3725, allocations: 11.98 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3726, allocations: 4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.3726, allocations: 105.6 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3726, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002312/0.3729, allocations: 12 kB / 1.064 GB, free: 15.21 MB / 0.8262 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.0001258/0.373, allocations: 99.25 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.3735, allocations: 147.9 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3736, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3738, allocations: 79.88 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3741, allocations: 8 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.3746, allocations: 239.1 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3749, allocations: 0.7018 MB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.36e-05/0.3749, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.375, allocations: 15.44 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.375, allocations: 0 / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.003054/0.378, allocations: 0.863 MB / 1.067 GB, free: 13.02 MB / 0.8262 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