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.001385/0.001385, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001437/0.001437, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 72.52 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3972, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003451/0.4007, allocations: 1.748 MB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.401, allocations: 83.67 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.4011, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.4012, allocations: 11.86 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.4013, allocations: 19.8 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.4014, allocations: 35.95 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.4016, allocations: 107.7 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.4018, allocations: 41.11 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.4019, allocations: 51.84 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.402, allocations: 51.77 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.402, allocations: 8 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.402, allocations: 15.94 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.4021, allocations: 27.91 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.4021, allocations: 43.73 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.4023, allocations: 111.9 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4023, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4023, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.4023, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8419 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.0006926/0.403, allocations: 431.1 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.403, allocations: 12.03 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4031, allocations: 8.844 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4033, allocations: 204.1 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4034, allocations: 4.375 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.4034, allocations: 8.375 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.4038, allocations: 126.2 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4038, allocations: 192 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4038, allocations: 7.938 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4038, allocations: 4 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.4043, allocations: 123.8 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.4048, allocations: 388.4 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.4052, allocations: 90.52 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4055, allocations: 56.92 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4055, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4055, allocations: 38.56 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4055, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007807/0.4063, allocations: 205.3 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4064, allocations: 51.41 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4065, allocations: 132.5 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4065, allocations: 25.7 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.4066, allocations: 107.9 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.4066, allocations: 27.64 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.4067, allocations: 13.72 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4068, allocations: 326.8 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.407, allocations: 51.94 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.4073, allocations: 47.95 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.4077, allocations: 112.7 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4077, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004761/0.4082, allocations: 138 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4082, allocations: 8 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4082, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4082, allocations: 8 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.4084, allocations: 27.97 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4084, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4085, allocations: 27.81 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4086, allocations: 0 / 1.069 GB, free: 9.656 MB / 0.8419 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 0.0001068/0.4087, allocations: 124 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4087, allocations: 7.906 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.4088, allocations: 12.31 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4088, allocations: 7.938 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4088, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4088, allocations: 3.984 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.409, allocations: 193.6 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.409, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.4092, allocations: 23.97 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4092, allocations: 11.94 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4092, allocations: 4 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4092, allocations: 3.938 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4092, allocations: 0 / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.4098, allocations: 239.3 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.4098, allocations: 85.05 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4098, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.41, allocations: 23.91 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.4101, allocations: 11.92 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.4101, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.4101, allocations: 95.27 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4101, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002415/0.4104, allocations: 19.91 kB / 1.07 GB, free: 8.707 MB / 0.8419 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.000136/0.4105, allocations: 99.78 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.411, allocations: 111.9 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4111, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.4113, allocations: 59.88 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4117, allocations: 16.31 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4123, allocations: 232.1 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4126, allocations: 0.6963 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.4126, allocations: 15.44 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.4126, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.003087/0.4157, allocations: 1.206 MB / 1.072 GB, free: 6.223 MB / 0.8419 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