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.001017/0.001017, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001164/0.001164, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.02/3.02, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8.469 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4019, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002346/0.4043, allocations: 1.442 MB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.4046, allocations: 75.73 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.4047, allocations: 4 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.4048, allocations: 3.938 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.4049, allocations: 19.78 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.405, allocations: 23.98 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.4052, allocations: 95.69 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.4054, allocations: 37.28 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.4055, allocations: 27.86 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.4056, allocations: 43.77 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.4057, allocations: 4 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.4057, allocations: 4 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.4057, allocations: 11.92 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.4058, allocations: 41.7 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.4059, allocations: 76.05 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4059, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.867e-06/0.406, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.406, allocations: 3.938 kB / 1.06 GB, free: 3.398 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.0007961/0.4068, allocations: 430.9 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4068, allocations: 8.031 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.4069, allocations: 15.91 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.4072, allocations: 194.9 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4073, allocations: 7.953 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4073, allocations: 12 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.4078, allocations: 143.1 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4078, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.4078, allocations: 4 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4078, allocations: 4 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.4083, allocations: 155.8 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.409, allocations: 384.5 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.4095, allocations: 110.5 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.4097, allocations: 76.92 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4097, allocations: 0 / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4098, allocations: 42.5 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.4098, allocations: 0 / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000783/0.4106, allocations: 241.4 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.4106, allocations: 51.41 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4107, allocations: 132.6 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.4108, allocations: 25.7 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.4109, allocations: 107.9 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4109, allocations: 23.73 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.4109, allocations: 4 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.411, allocations: 314.8 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4113, allocations: 67.94 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.4115, allocations: 71.88 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.4117, allocations: 63.95 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4117, allocations: 3.938 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004658/0.4122, allocations: 177.5 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4122, allocations: 9.719 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.4122, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4122, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4124, allocations: 31.97 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4124, allocations: 4 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4125, allocations: 35.92 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.4126, allocations: 0 / 1.063 GB, free: 300 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4127, allocations: 117.8 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.4127, allocations: 7.906 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.4127, allocations: 16.38 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4128, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4128, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4128, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.413, allocations: 209.6 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.413, allocations: 448 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4132, allocations: 31.97 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4132, allocations: 8 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4132, allocations: 7.938 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4132, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4132, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.4138, allocations: 279.3 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.4138, allocations: 84.95 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4139, allocations: 3.844 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.414, allocations: 27.97 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.4141, allocations: 7.984 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.4141, allocations: 4 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.607e-05/0.4142, allocations: 103.3 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/0.4142, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002443/0.4144, allocations: 15.91 kB / 1.064 GB, free: 15.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.4146, allocations: 99.25 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.4151, allocations: 147.9 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4151, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4154, allocations: 71.89 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4157, allocations: 19.94 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.4163, allocations: 237.2 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.4166, allocations: 0.7004 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.309e-05/0.4167, allocations: 4.188 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.4167, allocations: 11.44 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4167, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.003575/0.4203, allocations: 0.8518 MB / 1.066 GB, free: 13.11 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