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.001042/0.001042, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002605, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007611/0.0007611, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009899/0.001751, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.914/0.914, allocations: 177.2 MB / 189.8 MB, free: 5.281 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07953/0.9935, allocations: 53.67 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.789/1.789, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.445/2.234, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.362e-06/1.362e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.196e-05, allocations: 3.344 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003152/0.003174, allocations: 1.849 MB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.003358, allocations: 84.92 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.003407, allocations: 1.938 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.003445, allocations: 15.8 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.003502, allocations: 18.7 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.351e-05/0.003585, allocations: 34.27 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.003723, allocations: 106.5 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003855, allocations: 49.84 kB / 0.7318 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.003981, allocations: 71.88 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.004042, allocations: 35.89 kB / 0.7319 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.004069, allocations: 8 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.004085, allocations: 12.5 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.004111, allocations: 16.53 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004144, allocations: 23.94 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004271, allocations: 76.5 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.004283, allocations: 0 / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004283, allocations: 1.312 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.004296, allocations: 0 / 0.732 GB, free: 2.07 MB / 0.698 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.0004615/0.004758, allocations: 325 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.004793, allocations: 12.03 kB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.00483, allocations: 12.92 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.004974, allocations: 138.2 kB / 0.7325 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004985, allocations: 6.094 kB / 0.7325 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.005002, allocations: 8.375 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.005186, allocations: 104.9 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.005194, allocations: 192 / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005204, allocations: 1.188 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005211, allocations: 384 / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.005257, allocations: 25.36 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.005566, allocations: 228 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.005693, allocations: 47.44 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.005723, allocations: 12.86 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.005734, allocations: 0.5 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.005755, allocations: 31.38 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.005756, allocations: 0 / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001449/0.005901, allocations: 63.5 kB / 0.733 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.005928, allocations: 51.41 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.006002, allocations: 130.6 kB / 0.7332 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.006015, allocations: 25.7 kB / 0.7332 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.00606, allocations: 112.1 kB / 0.7333 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.006084, allocations: 20.28 kB / 0.7333 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.006119, allocations: 18.81 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.006204, allocations: 322.8 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.006223, allocations: 7.984 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.00624, allocations: 4.531 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.006286, allocations: 25.95 kB / 0.7337 GB, free: 236 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006287, allocations: 0 / 0.7337 GB, free: 236 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.314e-05/0.00637, allocations: 61.61 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006383, allocations: 4.719 kB / 0.7337 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006387, allocations: 0 / 0.7337 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006399, allocations: 0.5312 kB / 0.7337 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.006492, allocations: 20.92 kB / 0.7338 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006496, allocations: 0 / 0.7338 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.00654, allocations: 13.2 kB / 0.7338 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.006547, allocations: 0 / 0.7338 GB, free: 132 kB / 0.698 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.07e-05/0.006607, allocations: 113.8 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.006632, allocations: 9.359 kB / 0.7339 GB, free: 0 / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.006669, allocations: 12.44 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006671, allocations: 0 / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006672, allocations: 0 / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.006675, allocations: 1.125 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.006809, allocations: 97.73 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00681, allocations: 0.8125 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.006887, allocations: 29.3 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.006897, allocations: 7.953 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006899, allocations: 0 / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006907, allocations: 0 / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006909, allocations: 0.5312 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.00691, allocations: 1.188 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.007032, allocations: 155.5 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.007044, allocations: 0 / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.007113, allocations: 9.156 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.007154, allocations: 11.98 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007159, allocations: 0 / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.007183, allocations: 19.78 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007183, allocations: 0 / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001945/0.007378, allocations: 31.83 kB / 0.7342 GB, free: 15.6 MB / 0.7136 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.0001078/0.007486, allocations: 85.38 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.007578, allocations: 24.84 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.007587, allocations: 4.531 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.00763, allocations: 26.53 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.007875, allocations: 101 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.008471, allocations: 204.1 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.008514, allocations: 59.34 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.008558, allocations: 4 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.008638, allocations: 59.36 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.008638, allocations: 6.719 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.003298/0.01194, allocations: 1.086 MB / 0.7359 GB, free: 13.95 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.578897795639932]