Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001201/0.001201, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.003043, allocations: 440 kB / 10.41 MB, free: 284 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.001035/0.001035, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.00244, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.126, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2113/2.589, allocations: 146 MB / 0.8176 GB, free: 3.824 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.632e-05, allocations: 4.703 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001465/0.001482, allocations: 0.5987 MB / 0.8195 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.777e-05/0.001569, allocations: 35.81 kB / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.001607, allocations: 4 kB / 0.8195 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.001624, allocations: 0 / 0.8195 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.001682, allocations: 0 / 0.8195 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.647e-05/0.001729, allocations: 19.8 kB / 0.8196 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.001791, allocations: 12 kB / 0.8196 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.001823, allocations: 0 / 0.8196 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.001903, allocations: 15.92 kB / 0.8196 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.00199, allocations: 11.98 kB / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.002014, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.002024, allocations: 4 kB / 0.8196 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.002068, allocations: 0 / 0.8196 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.002097, allocations: 7.938 kB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.931e-05/0.002176, allocations: 11.97 kB / 0.8196 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.002188, allocations: 0 / 0.8196 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002188, allocations: 0 / 0.8196 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.002202, allocations: 4 kB / 0.8196 GB, free: 1.77 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003844/0.002587, allocations: 236.6 kB / 0.8199 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.002628, allocations: 8.031 kB / 0.8199 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.00266, allocations: 0.9375 kB / 0.8199 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.002812, allocations: 113.8 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.002821, allocations: 384 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.002844, allocations: 4.359 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.002921, allocations: 41.02 kB / 0.82 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.002928, allocations: 4.188 kB / 0.82 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.002934, allocations: 384 / 0.82 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.00294, allocations: 4.375 kB / 0.82 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.142e-05/0.002952, allocations: 3.938 kB / 0.82 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.504e-05/0.003047, allocations: 59.88 kB / 0.8201 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.003087, allocations: 14.58 kB / 0.8201 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.003101, allocations: 4.953 kB / 0.8201 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.003113, allocations: 4 kB / 0.8201 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.00314, allocations: 34.5 kB / 0.8201 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.003141, allocations: 3.938 kB / 0.8201 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.003248, allocations: 33.69 kB / 0.8202 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.003278, allocations: 55.53 kB / 0.8202 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.003355, allocations: 114.7 kB / 0.8203 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.003367, allocations: 29.7 kB / 0.8204 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.003394, allocations: 80.14 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.003416, allocations: 3.953 kB / 0.8204 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.003447, allocations: 13.72 kB / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.003536, allocations: 322.8 kB / 0.8208 GB, free: 464 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.00355, allocations: 6.828 kB / 0.8208 GB, free: 456 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.003568, allocations: 13.66 kB / 0.8208 GB, free: 436 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.003604, allocations: 20.86 kB / 0.8208 GB, free: 408 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.003606, allocations: 0 / 0.8208 GB, free: 408 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.113e-05/0.003667, allocations: 52.45 kB / 0.8209 GB, free: 348 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.003681, allocations: 8 kB / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003685, allocations: 0 / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.003698, allocations: 0 / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.00376, allocations: 4 kB / 0.8209 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.003763, allocations: 0 / 0.8209 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.003781, allocations: 0 / 0.8209 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.003792, allocations: 7.984 kB / 0.8209 GB, free: 328 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.998e-05/0.003852, allocations: 120.6 kB / 0.821 GB, free: 196 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.00386, allocations: 0 / 0.821 GB, free: 196 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.003951, allocations: 45.09 kB / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.003952, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.003954, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.003957, allocations: 0 / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.441e-05/0.004031, allocations: 69.84 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.004032, allocations: 0 / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.004079, allocations: 7.984 kB / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.004099, allocations: 7.984 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.004101, allocations: 4.031 kB / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.00411, allocations: 0 / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004111, allocations: 0 / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.004113, allocations: 0 / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.004238, allocations: 78.61 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.00425, allocations: 3.938 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.004267, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.004282, allocations: 7.984 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.004284, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.004304, allocations: 12.86 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.004304, allocations: 4.062 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001543/0.004459, allocations: 4 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 8.22e-05/0.004541, allocations: 72.42 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.004605, allocations: 16.84 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.004609, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.004625, allocations: 8.859 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.655e-05/0.004702, allocations: 11.94 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.004932, allocations: 123.7 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.004965, allocations: 63.28 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.004981, allocations: 0 / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.005024, allocations: 51.38 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.005024, allocations: 0 / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.002342/0.007366, allocations: 375.4 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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: 5.004139946773648]