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.001116/0.001116, allocations: 102.3 kB / 16.37 MB, free: 6.473 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.001129/0.001129, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.19 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.55/2.55, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 65.28 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3643, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003286/0.3677, allocations: 1.757 MB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.3679, allocations: 87.61 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.368, allocations: 0 / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.464e-05/0.3681, allocations: 11.81 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.3681, allocations: 23.78 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.3683, allocations: 23.97 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3684, allocations: 123.7 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.3687, allocations: 45.61 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.3688, allocations: 43.84 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.3688, allocations: 51.77 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3689, allocations: 15.98 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.3689, allocations: 8 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.3689, allocations: 23.92 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.369, allocations: 47.78 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3692, allocations: 111.5 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.3692, allocations: 4 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3692, allocations: 3.938 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3692, allocations: 0 / 1.021 GB, free: 7.461 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.000782/0.37, allocations: 435 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3701, allocations: 8.031 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.3701, allocations: 12.84 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3704, allocations: 192.2 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3704, allocations: 4.375 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3705, allocations: 12.38 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.3708, allocations: 126.1 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3709, allocations: 4.188 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3709, allocations: 3.938 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3709, allocations: 3.984 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.3713, allocations: 123.9 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3719, allocations: 376.4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.3723, allocations: 94.52 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3725, allocations: 56.92 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3725, allocations: 7.938 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3725, allocations: 38.5 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3725, allocations: 0 / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0007023/0.3732, allocations: 197.6 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3733, allocations: 51.41 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3734, allocations: 128.1 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3735, allocations: 29.7 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3735, allocations: 107.9 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.3736, allocations: 23.73 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3736, allocations: 25.7 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3738, allocations: 314.8 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.374, allocations: 56 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3741, allocations: 59.88 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.3745, allocations: 104.8 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3745, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004048/0.3749, allocations: 141.5 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3749, allocations: 8 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.375, allocations: 0 / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.375, allocations: 3.938 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3751, allocations: 27.97 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3752, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3753, allocations: 31.81 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3753, allocations: 0 / 1.024 GB, free: 4.484 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 0.0001056/0.3754, allocations: 116.2 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3754, allocations: 4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.3755, allocations: 16.36 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3755, allocations: 3.938 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3755, allocations: 4 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3755, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3758, allocations: 201.5 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3758, allocations: 0 / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.3759, allocations: 31.97 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3759, allocations: 0 / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3759, allocations: 0 / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3759, allocations: 4.125 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3759, allocations: 0 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.3764, allocations: 247.4 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.3765, allocations: 88.89 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3765, allocations: 0 / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3767, allocations: 27.91 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3767, allocations: 8 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3767, allocations: 0 / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.3768, allocations: 95.27 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 0 / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002282/0.377, allocations: 23.91 kB / 1.025 GB, free: 3.539 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.0001692/0.3772, allocations: 99.23 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3777, allocations: 115.8 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3777, allocations: 0 / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3779, allocations: 59.94 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3783, allocations: 15.94 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.3788, allocations: 202.5 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3792, allocations: 0.6983 MB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.595e-05/0.3792, allocations: 8 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.3793, allocations: 15.44 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of SimCode: time 4.7e-07/0.3793, allocations: 0 / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of Templates: time 0.003789/0.3831, allocations: 1.088 MB / 1.027 GB, free: 1.199 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 cvode -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