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.002161/0.002161, 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.002844/0.002844, allocations: 161.7 kB / 23.54 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.666/1.666, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.945/2.945, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.931e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.004244/0.004283, allocations: 1.749 MB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.004562, allocations: 81.08 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.004659, allocations: 4 kB / 0.8126 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.004712, allocations: 12.5 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.004805, allocations: 12.77 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.004953, allocations: 32.61 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.005174, allocations: 111.6 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.005371, allocations: 38.17 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.005552, allocations: 59.95 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.00564, allocations: 35.91 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.005673, allocations: 13.19 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.349e-05/0.005696, allocations: 12 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.005742, allocations: 23.89 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.005807, allocations: 33.39 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.006077, allocations: 123.4 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006081, allocations: 0 / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006082, allocations: 0 / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.006091, allocations: 1.531 kB / 0.8131 GB, free: 15.71 MB / 0.7761 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.0009389/0.00703, allocations: 351.2 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.007091, allocations: 16.02 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.007183, allocations: 20.84 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.007462, allocations: 139.3 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.007482, allocations: 9.5 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.007504, allocations: 8.375 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.00793, allocations: 119.4 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.007941, allocations: 4.172 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.007978, allocations: 5.75 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.007988, allocations: 8.359 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.008483, allocations: 125.5 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.009089, allocations: 301.7 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.009478, allocations: 87.73 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.00972, allocations: 58.8 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.00974, allocations: 4 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.009774, allocations: 34.56 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.009776, allocations: 2.312 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000844/0.01062, allocations: 197 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.01068, allocations: 55.41 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01085, allocations: 124.2 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.01089, allocations: 29.7 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01099, allocations: 108 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.01103, allocations: 19.83 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.01111, allocations: 21.72 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.01135, allocations: 323.5 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.01159, allocations: 49 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.0118, allocations: 49.86 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.01225, allocations: 107.9 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01225, allocations: 0 / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005391/0.01279, allocations: 147.2 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.01283, allocations: 11.94 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01283, allocations: 0 / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.01286, allocations: 1.344 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.01304, allocations: 27.97 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.01305, allocations: 4.969 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01317, allocations: 21.2 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01319, allocations: 7.938 kB / 0.8156 GB, free: 13.02 MB / 0.7761 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.0001418/0.01333, allocations: 113.8 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.01338, allocations: 15.83 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01342, allocations: 8.438 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.01343, allocations: 8.422 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.01344, allocations: 0 / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01344, allocations: 0 / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01367, allocations: 137.2 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01368, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.01385, allocations: 27.91 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.01385, allocations: 4 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01386, allocations: 0.9375 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01386, allocations: 0 / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01387, allocations: 0 / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.01448, allocations: 245.5 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.0145, allocations: 8.984 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01452, allocations: 0 / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.01467, allocations: 20.97 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.01476, allocations: 7.984 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.01477, allocations: 0.5312 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.01486, allocations: 99.77 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01486, allocations: 0 / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002505/0.01511, allocations: 20.44 kB / 0.8163 GB, free: 12.26 MB / 0.7761 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.0001886/0.0153, allocations: 100.7 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.01585, allocations: 114.2 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.01585, allocations: 4 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.01609, allocations: 56.05 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.01654, allocations: 19.92 kB / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.0172, allocations: 196.5 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.01732, allocations: 80.33 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.01737, allocations: 10.73 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.01742, allocations: 16.5 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01743, allocations: 4 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.004835/0.02226, allocations: 1.149 MB / 0.818 GB, free: 10.51 MB / 0.7761 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.495292688952759]