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.005729/0.005729, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001304/0.001304, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7453 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.34 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003125/0.4047, allocations: 1.762 MB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.4049, allocations: 75.75 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.405, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.405, allocations: 11.86 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.4051, allocations: 19.8 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.4053, allocations: 31.95 kB / 1.228 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.4054, allocations: 103.7 kB / 1.228 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.4056, allocations: 61.02 kB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.4057, allocations: 43.83 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.4057, allocations: 55.77 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.4058, allocations: 12 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.4058, allocations: 12 kB / 1.228 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.4059, allocations: 23.86 kB / 1.228 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.4059, allocations: 47.73 kB / 1.228 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.4061, allocations: 119.5 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4061, allocations: 0 / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4061, allocations: 0 / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4061, allocations: 0 / 1.228 GB, free: 6.801 MB / 0.9825 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.0006836/0.4068, allocations: 434.9 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4069, allocations: 8.031 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.4069, allocations: 16.84 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4071, allocations: 196.2 kB / 1.229 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4071, allocations: 8.375 kB / 1.229 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.4072, allocations: 8.375 kB / 1.229 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.4075, allocations: 126.2 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4075, allocations: 192 / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4076, allocations: 3.938 kB / 1.229 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4076, allocations: 0 / 1.229 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.408, allocations: 131.8 kB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.4085, allocations: 388.5 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.409, allocations: 86.5 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.4092, allocations: 64.94 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4093, allocations: 0 / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4093, allocations: 34.55 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4093, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007181/0.41, allocations: 205.7 kB / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4101, allocations: 51.41 kB / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.4102, allocations: 121.8 kB / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4102, allocations: 25.7 kB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4103, allocations: 108 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.4103, allocations: 27.78 kB / 1.23 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.4104, allocations: 17.72 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4105, allocations: 318.8 kB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.4107, allocations: 43.95 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.4109, allocations: 55.94 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.4113, allocations: 108.7 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4113, allocations: 3.938 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004871/0.4118, allocations: 145.5 kB / 1.231 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4119, allocations: 8 kB / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4119, allocations: 0 / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4119, allocations: 3.938 kB / 1.231 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4121, allocations: 23.97 kB / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.4121, allocations: 0 / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4122, allocations: 31.91 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4122, allocations: 0 / 1.231 GB, free: 3.824 MB / 0.9825 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.0001018/0.4123, allocations: 114.4 kB / 1.231 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.4123, allocations: 7.953 kB / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.4124, allocations: 16.36 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4124, allocations: 3.938 kB / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4124, allocations: 3.938 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4124, allocations: 4 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.4126, allocations: 205.6 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4126, allocations: 0 / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4128, allocations: 27.97 kB / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4128, allocations: 0 / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.4128, allocations: 0 / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4128, allocations: 4.188 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4128, allocations: 4 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.4133, allocations: 243.4 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.4134, allocations: 77.11 kB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.4134, allocations: 4 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4135, allocations: 23.91 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4136, allocations: 11.98 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4136, allocations: 3.938 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.4137, allocations: 105.7 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4137, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002211/0.4139, allocations: 19.95 kB / 1.231 GB, free: 2.867 MB / 0.9825 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.0001478/0.4141, allocations: 95.25 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.4146, allocations: 115.9 kB / 1.232 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4146, allocations: 0 / 1.232 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4148, allocations: 63.89 kB / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.4152, allocations: 19.83 kB / 1.232 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.4157, allocations: 198.3 kB / 1.232 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4161, allocations: 0.698 MB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.4161, allocations: 7.984 kB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.4162, allocations: 11.44 kB / 1.233 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.4162, allocations: 0 / 1.233 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.003684/0.4199, allocations: 1.082 MB / 1.234 GB, free: 0.5312 MB / 0.9825 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