Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001723/0.001723, allocations: 78.09 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.001804/0.001804, allocations: 157.1 kB / 23.01 MB, free: 4.605 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.892/2.892, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002181/0.002181, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8889, allocations: 181.8 MB / 1.187 GB, free: 16.43 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003321/0.8922, allocations: 1.745 MB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.8925, allocations: 75.95 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.8925, allocations: 5.156 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.593e-05/0.8926, allocations: 13.78 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.8927, allocations: 15.77 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.8928, allocations: 34.75 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.893, allocations: 109.2 kB / 1.189 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.8932, allocations: 33.22 kB / 1.189 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.8932, allocations: 43.69 kB / 1.189 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.8933, allocations: 47.44 kB / 1.189 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.8934, allocations: 13.88 kB / 1.189 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/0.8934, allocations: 10.84 kB / 1.189 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.8934, allocations: 23 kB / 1.189 GB, free: 15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.8935, allocations: 42.7 kB / 1.189 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.8937, allocations: 122.7 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8937, allocations: 0 / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8937, allocations: 1.797 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.8937, allocations: 0 / 1.189 GB, free: 14.92 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.0007099/0.8944, allocations: 351.2 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8944, allocations: 9.719 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.8945, allocations: 18.31 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.8947, allocations: 136.9 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.8947, allocations: 8.188 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.8947, allocations: 9.594 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.8951, allocations: 118.4 kB / 1.19 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.8951, allocations: 1.344 kB / 1.19 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.8952, allocations: 11.94 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8952, allocations: 3.125 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.8958, allocations: 121.2 kB / 1.19 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.8964, allocations: 305.8 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.8969, allocations: 83.61 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.8971, allocations: 56.62 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.8971, allocations: 1.344 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.8971, allocations: 36.39 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.8971, allocations: 4.906 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0007863/0.8979, allocations: 192.9 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.8979, allocations: 56.5 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.898, allocations: 130.1 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.898, allocations: 25.7 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.8981, allocations: 105.3 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.8981, allocations: 24.16 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.8982, allocations: 18.83 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.8982, allocations: 315.9 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.8985, allocations: 53.14 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.8988, allocations: 56.59 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.8995, allocations: 107.8 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8995, allocations: 0 / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007092/0.9002, allocations: 143.8 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9002, allocations: 6.219 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9002, allocations: 0.7188 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9002, allocations: 4 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.9005, allocations: 26.53 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9005, allocations: 3.938 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.9007, allocations: 29.02 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.9007, allocations: 1.688 kB / 1.191 GB, free: 13.16 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 7.588e-05/0.9007, allocations: 123.4 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.9008, allocations: 3.625 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.9008, allocations: 10.86 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.9008, allocations: 2 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9008, allocations: 3.938 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9008, allocations: 1.766 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.9011, allocations: 133.3 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9011, allocations: 5.828 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.9013, allocations: 24.52 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.9013, allocations: 1.734 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.9013, allocations: 4 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9013, allocations: 0.7812 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9013, allocations: 1.188 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.9021, allocations: 240.9 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.9021, allocations: 14.92 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.9021, allocations: 5.797 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.9023, allocations: 16.84 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.9024, allocations: 14.06 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.9024, allocations: 1.312 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.9025, allocations: 98.86 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9025, allocations: 4 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004375/0.9029, allocations: 22.69 kB / 1.192 GB, free: 12.61 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 0.000104/0.903, allocations: 94.64 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.9038, allocations: 108.3 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9038, allocations: 7.938 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.9041, allocations: 60.11 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.9047, allocations: 18.91 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.9053, allocations: 198.9 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.908e-05/0.9054, allocations: 89.84 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.9054, allocations: 3.359 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.9055, allocations: 12.34 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.9055, allocations: 0 / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of Templates: time 0.006109/0.9116, allocations: 1.145 MB / 1.194 GB, free: 12.08 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.710576365003362]