Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 162.4 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.898/2.898, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 64.19 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002892/1.171, allocations: 1.737 MB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001847/1.172, allocations: 79.12 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/1.172, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/1.172, allocations: 15.19 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/1.172, allocations: 14.52 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/1.172, allocations: 39.7 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/1.172, allocations: 112.4 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/1.172, allocations: 27.19 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/1.172, allocations: 44.66 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/1.172, allocations: 48.61 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/1.172, allocations: 11.88 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/1.172, allocations: 11.72 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/1.172, allocations: 26.08 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/1.172, allocations: 43.38 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/1.173, allocations: 108.7 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.173, allocations: 8 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.933e-06/1.173, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.173, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 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.0006259/1.173, allocations: 357 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.173, allocations: 8.531 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/1.173, allocations: 18.73 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/1.173, allocations: 136 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.173, allocations: 14.09 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/1.174, allocations: 10.38 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/1.174, allocations: 122 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.174, allocations: 192 / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.174, allocations: 11.88 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.174, allocations: 2.625 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/1.174, allocations: 121.1 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/1.175, allocations: 294.4 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/1.175, allocations: 88.42 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/1.175, allocations: 59.53 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/1.175, allocations: 0 / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/1.175, allocations: 44.17 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/1.175, allocations: 0 / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.000735/1.176, allocations: 191.5 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/1.176, allocations: 57.75 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/1.176, allocations: 124.2 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.176, allocations: 28.58 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/1.176, allocations: 109.8 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/1.176, allocations: 22.33 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/1.176, allocations: 19.19 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.293e-05/1.176, allocations: 321.2 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/1.177, allocations: 52.59 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/1.177, allocations: 48.83 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/1.177, allocations: 112.4 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.177, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004654/1.178, allocations: 141.4 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.178, allocations: 9.344 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.178, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.178, allocations: 4.375 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/1.178, allocations: 24.86 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/1.178, allocations: 3.938 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/1.178, allocations: 24.95 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/1.178, allocations: 7.125 kB / 1.159 GB, free: 30.03 MB / 1.076 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 6.756e-05/1.178, allocations: 119.4 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/1.178, allocations: 14.66 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/1.178, allocations: 11.12 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.178, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.178, allocations: 6.5 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.178, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/1.178, allocations: 131.6 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.178, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/1.178, allocations: 23.58 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.178, allocations: 2.75 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.178, allocations: 11.38 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.178, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.178, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/1.179, allocations: 239.4 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/1.179, allocations: 14.61 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/1.179, allocations: 2.688 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/1.179, allocations: 18.38 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/1.179, allocations: 17.41 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/1.179, allocations: 2.719 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.883e-05/1.179, allocations: 93.61 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.179, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002341/1.179, allocations: 25.73 kB / 1.159 GB, free: 29.48 MB / 1.076 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 9.841e-05/1.179, allocations: 95.41 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004787/1.18, allocations: 112.9 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.18, allocations: 0 / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/1.18, allocations: 62.16 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/1.181, allocations: 14.09 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/1.181, allocations: 202.8 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/1.181, allocations: 83.59 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.095e-05/1.181, allocations: 8.469 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/1.181, allocations: 11.34 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.181, allocations: 0 / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of Templates: time 0.003893/1.185, allocations: 1.15 MB / 1.161 GB, free: 28.95 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.779461510013789]