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.008901/0.008901, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001418/0.001418, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.631/2.631, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 60.12 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244/1.246, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003325/1.249, allocations: 1.761 MB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002051/1.25, allocations: 87.66 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/1.25, allocations: 0 / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/1.25, allocations: 11.88 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/1.25, allocations: 19.8 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/1.25, allocations: 31.97 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/1.25, allocations: 107.7 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/1.25, allocations: 49.09 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/1.25, allocations: 47.84 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/1.251, allocations: 43.77 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/1.251, allocations: 12 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/1.251, allocations: 12 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/1.251, allocations: 19.92 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/1.251, allocations: 51.73 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/1.251, allocations: 124 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.251, allocations: 3.938 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/1.251, allocations: 0 / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.251, allocations: 0 / 1.169 GB, free: 1.457 MB / 0.8887 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.0007644/1.252, allocations: 430.9 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.252, allocations: 12.03 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/1.252, allocations: 8.891 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/1.252, allocations: 206.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/1.252, allocations: 12.36 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.252, allocations: 8.375 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/1.253, allocations: 120.4 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.253, allocations: 4.172 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.253, allocations: 7.938 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.253, allocations: 8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/1.253, allocations: 115.9 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/1.254, allocations: 392.4 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/1.254, allocations: 90.45 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.254, allocations: 60.92 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/1.254, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.254, allocations: 34.56 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/1.254, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0007613/1.255, allocations: 193.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.255, allocations: 59.34 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.255, allocations: 125.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.255, allocations: 25.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.255, allocations: 112 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/1.255, allocations: 15.8 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/1.255, allocations: 21.7 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.256, allocations: 318.8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.256, allocations: 55.94 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/1.256, allocations: 47.94 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/1.256, allocations: 104.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.256, allocations: 4.375 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004285/1.257, allocations: 149.5 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.257, allocations: 8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.257, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.257, allocations: 3.938 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/1.257, allocations: 31.91 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.257, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/1.257, allocations: 15.97 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.257, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 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.886e-05/1.257, allocations: 121.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/1.257, allocations: 7.953 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.257, allocations: 12.36 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.257, allocations: 3.938 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.257, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.257, allocations: 4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/1.258, allocations: 197.6 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.258, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/1.258, allocations: 23.97 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.258, allocations: 4 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.258, allocations: 3.984 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.258, allocations: 11.88 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.258, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/1.258, allocations: 231.5 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/1.258, allocations: 89.05 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/1.258, allocations: 4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.258, allocations: 19.86 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/1.259, allocations: 11.98 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/1.259, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.323e-05/1.259, allocations: 97.66 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.259, allocations: 4 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000223/1.259, allocations: 23.89 kB / 1.172 GB, free: 13.54 MB / 0.9044 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.000154/1.259, allocations: 107.2 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004671/1.259, allocations: 116 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.26, allocations: 4 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/1.26, allocations: 55.94 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/1.26, allocations: 8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/1.261, allocations: 210.3 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/1.261, allocations: 0.7002 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.658e-05/1.261, allocations: 4 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/1.261, allocations: 7.438 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of SimCode: time 1.563e-06/1.261, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.00355/1.265, allocations: 1.095 MB / 1.175 GB, free: 11.19 MB / 0.9044 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