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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001543/0.001543, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.7 MB / 0.7452 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 57.69 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3974, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003537/0.401, allocations: 1.746 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.4012, allocations: 79.69 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.4013, allocations: 8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.4013, allocations: 11.86 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.4014, allocations: 15.8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.4015, allocations: 31.95 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4016, allocations: 107.7 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.4018, allocations: 53.09 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.4019, allocations: 39.84 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.402, allocations: 51.77 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.402, allocations: 12 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.402, allocations: 8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.4021, allocations: 31.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.4021, allocations: 47.73 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.4023, allocations: 111.9 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4023, allocations: 0 / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4023, allocations: 0 / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4023, allocations: 0 / 1.071 GB, free: 8.043 MB / 0.8262 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.0006316/0.4029, allocations: 427.1 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.403, allocations: 16.03 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.403, allocations: 8.844 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.4032, allocations: 209.9 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4032, allocations: 12.34 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4033, allocations: 8.375 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.4036, allocations: 124.4 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4037, allocations: 192 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4037, allocations: 11.88 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4037, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.4041, allocations: 123.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.4046, allocations: 380.4 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.405, allocations: 94.52 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.4052, allocations: 56.92 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.4052, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4052, allocations: 34.56 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4053, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007283/0.406, allocations: 193.4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.406, allocations: 55.41 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.4061, allocations: 125.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4062, allocations: 33.64 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.4062, allocations: 107.9 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.4062, allocations: 27.64 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.4063, allocations: 21.7 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4064, allocations: 310.8 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4066, allocations: 51.94 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.4068, allocations: 55.94 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.4072, allocations: 104.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4072, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004745/0.4077, allocations: 145.4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4077, allocations: 8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4077, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4077, allocations: 3.938 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4079, allocations: 28.41 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4079, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.408, allocations: 19.97 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4081, allocations: 7.984 kB / 1.073 GB, free: 5.062 MB / 0.8262 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.387e-05/0.4081, allocations: 115.6 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.4082, allocations: 11.91 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.4082, allocations: 16.36 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4082, allocations: 7.938 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4082, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4082, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4084, allocations: 197.6 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4084, allocations: 3.938 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4086, allocations: 31.97 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4086, allocations: 0 / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4086, allocations: 3.984 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4086, allocations: 3.938 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4086, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.4091, allocations: 239.4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.4092, allocations: 88.94 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4092, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4094, allocations: 23.92 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4094, allocations: 11.98 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4094, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.4095, allocations: 100.9 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 0 / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002267/0.4097, allocations: 20 kB / 1.074 GB, free: 4.113 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.0001265/0.4099, allocations: 103.8 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.4103, allocations: 111.9 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4103, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.4106, allocations: 71.81 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4109, allocations: 8.562 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.4114, allocations: 206.7 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.4117, allocations: 0.6963 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.4118, allocations: 7.984 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4118, allocations: 11.44 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4118, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.003391/0.4152, allocations: 1.072 MB / 1.076 GB, free: 1.785 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