Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002142/0.002142, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002479/0.002479, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.683/1.683, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.837/2.837, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.892e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.004592/0.00463, allocations: 1.754 MB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000275/0.004905, allocations: 84.52 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.004983, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.82e-05/0.005041, allocations: 11.86 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.005149, allocations: 17.53 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.005299, allocations: 31.95 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.005532, allocations: 111.6 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.005747, allocations: 37.84 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.005911, allocations: 60.78 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.006019, allocations: 39.89 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.006056, allocations: 9 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.006081, allocations: 12 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.006126, allocations: 23.91 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.006195, allocations: 28.58 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.006446, allocations: 123.6 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.00645, allocations: 3.438 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.419e-06/0.006455, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.00646, allocations: 3.938 kB / 0.7887 GB, free: 10.46 MB / 0.7448 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.0009641/0.007424, allocations: 349.9 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.007475, allocations: 8.031 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.00756, allocations: 21.62 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.007878, allocations: 140.8 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.007904, allocations: 8.969 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.007935, allocations: 12.38 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.008462, allocations: 119.7 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.008474, allocations: 1.719 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.0085, allocations: 4.375 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.008512, allocations: 4.375 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.00917, allocations: 121.4 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.009883, allocations: 310.7 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.01037, allocations: 86.5 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.01069, allocations: 55.5 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01071, allocations: 0 / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.01076, allocations: 38.56 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01076, allocations: 0 / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.001073/0.01183, allocations: 200.8 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.01189, allocations: 52.69 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.01207, allocations: 125.8 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.0121, allocations: 25.7 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01222, allocations: 108.6 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01226, allocations: 23.83 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.01233, allocations: 19.06 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.01256, allocations: 326.8 kB / 0.7908 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.01286, allocations: 44.86 kB / 0.7908 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.01314, allocations: 55 kB / 0.7909 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.01371, allocations: 107.5 kB / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01372, allocations: 0 / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006627/0.01438, allocations: 143.4 kB / 0.7911 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.01441, allocations: 4 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.01442, allocations: 4.047 kB / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.01446, allocations: 8 kB / 0.7911 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.01469, allocations: 29.03 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01469, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.01486, allocations: 25.25 kB / 0.7912 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.01488, allocations: 3.938 kB / 0.7912 GB, free: 7.785 MB / 0.7448 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.0001445/0.01502, allocations: 118.3 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01507, allocations: 9.062 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.01512, allocations: 12.44 kB / 0.7913 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.01512, allocations: 3.984 kB / 0.7913 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01513, allocations: 0.9062 kB / 0.7913 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01513, allocations: 0 / 0.7913 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.01544, allocations: 145.1 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.01546, allocations: 7.938 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.01568, allocations: 23.97 kB / 0.7915 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01568, allocations: 0 / 0.7915 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01569, allocations: 0 / 0.7915 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01569, allocations: 0 / 0.7915 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.0157, allocations: 7.984 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.01652, allocations: 237.4 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01654, allocations: 7.953 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01657, allocations: 3.984 kB / 0.7917 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.01679, allocations: 21.11 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.01687, allocations: 3.984 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01688, allocations: 5.031 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001146/0.01699, allocations: 103.2 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01699, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003964/0.01739, allocations: 17.09 kB / 0.7919 GB, free: 7.023 MB / 0.7448 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.000199/0.01759, allocations: 102.4 kB / 0.792 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006854/0.01827, allocations: 113.2 kB / 0.7921 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01827, allocations: 0 / 0.7921 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.01862, allocations: 61.62 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.01917, allocations: 25.84 kB / 0.7922 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.01989, allocations: 196.6 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02002, allocations: 80.31 kB / 0.7924 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.02008, allocations: 4 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.02015, allocations: 20.5 kB / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.02015, allocations: 0 / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.005708/0.02586, allocations: 1.148 MB / 0.7936 GB, free: 5.262 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.404686467954889]