Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007245/0.007245, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.00157/0.00157, allocations: 201 kB / 16.68 MB, free: 6.352 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4166, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002966/0.4196, allocations: 1.764 MB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001822/0.4199, allocations: 75.75 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.4199, allocations: 4 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.42, allocations: 11.86 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.4201, allocations: 15.8 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.4202, allocations: 31.95 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.4203, allocations: 107.7 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.4205, allocations: 49.09 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.4206, allocations: 51.78 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.4207, allocations: 55.75 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.4207, allocations: 8 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.4207, allocations: 12 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.4208, allocations: 23.92 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.4208, allocations: 43.73 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.421, allocations: 115.5 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.421, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.421, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.421, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 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.0006848/0.4217, allocations: 438.9 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4218, allocations: 8.031 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.4218, allocations: 8.891 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.422, allocations: 210.5 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4221, allocations: 4.375 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4221, allocations: 8.375 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.4224, allocations: 122.2 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4225, allocations: 192 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.4225, allocations: 11.94 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4225, allocations: 3.938 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.4229, allocations: 127.8 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.4234, allocations: 376.5 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.4238, allocations: 98.5 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.424, allocations: 52.94 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.424, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.424, allocations: 38.56 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.424, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000743/0.4248, allocations: 197.6 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4248, allocations: 55.41 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.4249, allocations: 117.8 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.425, allocations: 33.7 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.425, allocations: 108 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.4251, allocations: 27.72 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4251, allocations: 17.72 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4252, allocations: 318.8 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4254, allocations: 47.95 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.4256, allocations: 56.31 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.426, allocations: 108.8 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.426, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004224/0.4265, allocations: 145.5 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4265, allocations: 7.984 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4265, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4265, allocations: 7.938 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.4267, allocations: 27.97 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4267, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4268, allocations: 15.98 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4268, allocations: 4 kB / 1.172 GB, free: 1.449 MB / 0.92 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 9.032e-05/0.4269, allocations: 117.8 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.4269, allocations: 7.953 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.427, allocations: 8.375 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.427, allocations: 7.938 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.427, allocations: 4 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.427, allocations: 3.938 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4272, allocations: 205.5 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4272, allocations: 0 / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4274, allocations: 31.91 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.4274, allocations: 4 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4274, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4274, allocations: 3.938 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4274, allocations: 0 / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.4279, allocations: 235.4 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.4279, allocations: 89.05 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.428, allocations: 4.125 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4281, allocations: 27.91 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.4281, allocations: 7.984 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4282, allocations: 4 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.4282, allocations: 101 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4282, allocations: 0 / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002239/0.4285, allocations: 19.95 kB / 1.172 GB, free: 0.4922 MB / 0.92 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.000162/0.4286, allocations: 99.25 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.4291, allocations: 115.9 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4291, allocations: 0 / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.4293, allocations: 55.89 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4297, allocations: 26.16 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.4302, allocations: 206.3 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4304, allocations: 0.6924 MB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.4305, allocations: 11.98 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.4305, allocations: 15.44 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.4305, allocations: 0 / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of Templates: time 0.003416/0.4339, allocations: 1.069 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches