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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001409/0.001409, allocations: 101.4 kB / 16.35 MB, free: 6.285 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.001329/0.001329, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.91 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3561, allocations: 151.7 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00408/0.3602, allocations: 1.752 MB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.3605, allocations: 91.66 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.3606, allocations: 4 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.971e-05/0.3608, allocations: 7.875 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.3609, allocations: 15.8 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.361, allocations: 27.97 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3612, allocations: 119.7 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.3614, allocations: 45.11 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.3615, allocations: 47.84 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.3616, allocations: 51.77 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3616, allocations: 12 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.3616, allocations: 12 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.3617, allocations: 23.92 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.3617, allocations: 47.72 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3619, allocations: 119.5 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3619, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3619, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3619, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 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.0006827/0.3626, allocations: 439 kB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3627, allocations: 8.031 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3627, allocations: 8.844 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.363, allocations: 206.9 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.363, allocations: 4.375 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.363, allocations: 8.375 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3633, allocations: 124.6 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3634, allocations: 192 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3634, allocations: 11.94 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3634, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.3638, allocations: 119.9 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.3643, allocations: 384.3 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.3647, allocations: 90.52 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3649, allocations: 60.92 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3649, allocations: 3.984 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3649, allocations: 38.56 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3649, allocations: 0 / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006764/0.3656, allocations: 197.3 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3657, allocations: 55.41 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3658, allocations: 121.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3658, allocations: 29.7 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.3659, allocations: 107.9 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3659, allocations: 19.75 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.366, allocations: 29.64 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3661, allocations: 314.8 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3663, allocations: 51.94 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3665, allocations: 60.19 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3668, allocations: 104.8 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3668, allocations: 0 / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004031/0.3672, allocations: 149.4 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3673, allocations: 4 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3673, allocations: 0 / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3673, allocations: 7.938 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3674, allocations: 23.97 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3675, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3676, allocations: 27.88 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3676, allocations: 0 / 1.024 GB, free: 4.473 MB / 0.795 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.314e-05/0.3677, allocations: 117.8 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3677, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.3677, allocations: 12.36 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3678, allocations: 7.938 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3678, allocations: 0 / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3678, allocations: 0 / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.368, allocations: 205.5 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.368, allocations: 4 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.3681, allocations: 31.91 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3682, allocations: 4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3682, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3682, allocations: 3.938 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3682, allocations: 3.984 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.3687, allocations: 239.6 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3687, allocations: 88.95 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3687, allocations: 0 / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3689, allocations: 23.91 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.3689, allocations: 8 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3689, allocations: 4 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.369, allocations: 97.23 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.369, allocations: 0 / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002305/0.3692, allocations: 19.91 kB / 1.025 GB, free: 3.523 MB / 0.795 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.0001482/0.3694, allocations: 107.2 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.3698, allocations: 111.9 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3699, allocations: 0 / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3701, allocations: 55.94 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3704, allocations: 19.88 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.3709, allocations: 206.5 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3712, allocations: 0.7001 MB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.235e-05/0.3712, allocations: 4 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.3713, allocations: 11.44 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3713, allocations: 4 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of Templates: time 0.003472/0.3747, allocations: 1.071 MB / 1.027 GB, free: 1.188 MB / 0.795 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 -s gbode -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/jenkins1/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