Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008551/0.008551, allocations: 97.34 kB / 15.73 MB, free: 5.547 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.001493/0.001493, allocations: 192.6 kB / 16.67 MB, free: 5.469 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9184/0.9197, allocations: 159.1 MB / 1.221 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003033/0.9227, allocations: 1.743 MB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.9229, allocations: 83.67 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.9229, allocations: 0 / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.923, allocations: 7.875 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.923, allocations: 23.78 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.9231, allocations: 35.97 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.9233, allocations: 107.7 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.9234, allocations: 34.11 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.9235, allocations: 47.83 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.9236, allocations: 47.77 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.9236, allocations: 12 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.9236, allocations: 12 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.9237, allocations: 19.92 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.9237, allocations: 59.72 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.9239, allocations: 116 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9239, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9239, allocations: 7.938 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.9239, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 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.0006565/0.9246, allocations: 434.9 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9246, allocations: 16.56 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.9246, allocations: 12.84 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.9249, allocations: 198.4 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9249, allocations: 12.38 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.9249, allocations: 8.375 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.9252, allocations: 118.2 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9252, allocations: 192 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.9253, allocations: 7.938 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.9253, allocations: 4 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.9257, allocations: 122.3 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.9262, allocations: 384.5 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.9265, allocations: 90.45 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.9267, allocations: 56.92 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.9267, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.9267, allocations: 34.56 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.9267, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0006925/0.9274, allocations: 197.6 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.9275, allocations: 63.34 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.9276, allocations: 121.8 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.9276, allocations: 25.7 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.9276, allocations: 108 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.9277, allocations: 19.8 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.9277, allocations: 21.7 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9278, allocations: 318.8 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.928, allocations: 51.94 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.9282, allocations: 51.94 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.9286, allocations: 108.8 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9286, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003996/0.929, allocations: 141.5 kB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.929, allocations: 4 kB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.929, allocations: 0 / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.929, allocations: 7.938 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.9291, allocations: 27.97 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.9292, allocations: 3.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.9293, allocations: 19.97 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.9293, allocations: 4 kB / 1.226 GB, free: 12.75 MB / 0.9512 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.229e-05/0.9294, allocations: 114.4 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.9294, allocations: 11.95 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.9294, allocations: 12.36 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.9294, allocations: 3.938 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9294, allocations: 4 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.9294, allocations: 0 / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.9296, allocations: 209.5 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9296, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.9298, allocations: 24.41 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9298, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.9298, allocations: 8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/0.9298, allocations: 11.88 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9298, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.9302, allocations: 235.4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.9303, allocations: 85.11 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.9303, allocations: 0 / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.9304, allocations: 19.91 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.9305, allocations: 11.98 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9305, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.9305, allocations: 98.22 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9305, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002281/0.9308, allocations: 19.89 kB / 1.226 GB, free: 11.79 MB / 0.9512 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.0001292/0.9309, allocations: 107.2 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.9313, allocations: 107.8 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9313, allocations: 0 / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.9315, allocations: 63.94 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.9319, allocations: 8 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.9324, allocations: 198.3 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.9326, allocations: 0.7002 MB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.9326, allocations: 4 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.9327, allocations: 11.44 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.9327, allocations: 0 / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.003238/0.9359, allocations: 1.093 MB / 1.229 GB, free: 9.457 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches