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.001374/0.001374, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.003129, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007462/0.0007462, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000991/0.001737, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.058/1.058, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1197/1.178, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.449/2.449, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2425/2.691, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.029e-05, allocations: 8.281 kB / 0.8183 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002007/0.002027, allocations: 1.842 MB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.00216, allocations: 83.67 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.002197, allocations: 3.938 kB / 0.8202 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.002227, allocations: 11.86 kB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.002263, allocations: 15.81 kB / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.625e-05/0.002329, allocations: 39.95 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.718e-05/0.002427, allocations: 107.6 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.002533, allocations: 37.92 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.002629, allocations: 67.83 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.002679, allocations: 39.88 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.0027, allocations: 8 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.002711, allocations: 12 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002729, allocations: 19.88 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.002758, allocations: 23.94 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002859, allocations: 59.78 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.002875, allocations: 7.984 kB / 0.8207 GB, free: 460 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002876, allocations: 0 / 0.8207 GB, free: 460 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.002888, allocations: 0 / 0.8207 GB, free: 460 kB / 0.7917 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.0003824/0.00327, allocations: 336.1 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.003297, allocations: 12.03 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.003325, allocations: 12.94 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.003458, allocations: 139.9 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.003467, allocations: 8.375 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003477, allocations: 8.312 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.003624, allocations: 106.8 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003632, allocations: 192 / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.00364, allocations: 4.375 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003645, allocations: 384 / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.003679, allocations: 19.94 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.003934, allocations: 231.9 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004046, allocations: 42.56 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.004072, allocations: 20.95 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.004083, allocations: 8 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.004103, allocations: 30.56 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.004104, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001179/0.004222, allocations: 57.62 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.004248, allocations: 51.41 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.004306, allocations: 130.7 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.004316, allocations: 25.7 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.004351, allocations: 104.1 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.004371, allocations: 19.84 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.004399, allocations: 17.7 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.004471, allocations: 326.8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.004486, allocations: 8 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.004499, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.004534, allocations: 29.2 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004536, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.74e-05/0.004593, allocations: 53.62 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.004605, allocations: 4 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004609, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.004617, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.004683, allocations: 19.98 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.004686, allocations: 4 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.004717, allocations: 15.98 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.004722, allocations: 0 / 0.8224 GB, free: 14.48 MB / 0.8073 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 5.113e-05/0.004773, allocations: 113.7 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.004787, allocations: 4 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.00481, allocations: 16.42 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004811, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.004813, allocations: 3.938 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.004816, allocations: 0 / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.53e-05/0.004911, allocations: 93.8 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.004912, allocations: 4 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.00496, allocations: 23.92 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.004969, allocations: 11.94 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004971, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-06/0.004974, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.004975, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004976, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/0.005063, allocations: 147.5 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.005072, allocations: 0 / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.005114, allocations: 12.11 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.005149, allocations: 15.98 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.005153, allocations: 4 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.745e-05/0.00517, allocations: 27.92 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00517, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000125/0.005295, allocations: 23.89 kB / 0.8229 GB, free: 13.94 MB / 0.8073 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 7.653e-05/0.005372, allocations: 80.36 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.00544, allocations: 28.84 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.005445, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.005469, allocations: 20.8 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.005627, allocations: 27.92 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.006109, allocations: 196.6 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.006147, allocations: 63.34 kB / 0.8233 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.006179, allocations: 7.984 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.006239, allocations: 63.38 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.00624, allocations: 0 / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.002736/0.008976, allocations: 1.077 MB / 0.8244 GB, free: 12.34 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.483008669689298]