Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001396/0.001396, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001558/0.001558, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.74/2.74, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.616e-05, allocations: 4.812 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00202/0.002056, allocations: 0.5332 MB / 0.9515 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.002284, allocations: 39.75 kB / 0.9515 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.002351, allocations: 4 kB / 0.9515 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.002394, allocations: 0 / 0.9515 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.002584, allocations: 11.92 kB / 0.9515 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.641e-05/0.00266, allocations: 4 kB / 0.9515 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.002741, allocations: 7.938 kB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.002797, allocations: 7.984 kB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.002879, allocations: 8 kB / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.002973, allocations: 11.97 kB / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.002996, allocations: 0 / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.003008, allocations: 4 kB / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.003066, allocations: 3.938 kB / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.003098, allocations: 4 kB / 0.9516 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.003176, allocations: 7.984 kB / 0.9516 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003179, allocations: 0 / 0.9516 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00318, allocations: 0 / 0.9516 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003185, allocations: 0 / 0.9516 GB, free: 10.98 MB / 0.8575 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.0005484/0.003733, allocations: 260.4 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.003778, allocations: 8.031 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.003813, allocations: 8.875 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.004027, allocations: 121.7 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004039, allocations: 384 / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004059, allocations: 384 / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.004171, allocations: 38.23 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.00418, allocations: 192 / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004188, allocations: 384 / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.0042, allocations: 4.375 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.00422, allocations: 7.938 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.004399, allocations: 113.2 kB / 0.9521 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.004476, allocations: 22.55 kB / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.004504, allocations: 16.84 kB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.004523, allocations: 0 / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.004558, allocations: 30.56 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.004559, allocations: 0 / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.004741, allocations: 49.64 kB / 0.9522 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.004791, allocations: 51.41 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.004955, allocations: 117.9 kB / 0.9524 GB, free: 10 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.004979, allocations: 25.7 kB / 0.9524 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.005036, allocations: 84.08 kB / 0.9525 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005059, allocations: 4 kB / 0.9525 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.005092, allocations: 17.7 kB / 0.9525 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.005262, allocations: 314.8 kB / 0.9528 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.005277, allocations: 0 / 0.9528 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.005308, allocations: 21.7 kB / 0.9528 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.005354, allocations: 17.72 kB / 0.9529 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005355, allocations: 4.062 kB / 0.9529 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.714e-05/0.005443, allocations: 53.58 kB / 0.9529 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.005459, allocations: 8 kB / 0.9529 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.005464, allocations: 0 / 0.9529 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.00548, allocations: 0 / 0.9529 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.005554, allocations: 7.984 kB / 0.9529 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00556, allocations: 0 / 0.9529 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.005589, allocations: 7.938 kB / 0.9529 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.005597, allocations: 256 / 0.9529 GB, free: 9.406 MB / 0.8575 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 0.000137/0.005734, allocations: 109.9 kB / 0.953 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.005742, allocations: 4 kB / 0.953 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.005883, allocations: 57.08 kB / 0.9531 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.005888, allocations: 4 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.005892, allocations: 0 / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.0059, allocations: 3.938 kB / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.006032, allocations: 101.3 kB / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006033, allocations: 0 / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.006096, allocations: 7.984 kB / 0.9532 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006097, allocations: 0 / 0.9532 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.006109, allocations: 3.938 kB / 0.9532 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.006113, allocations: 8.031 kB / 0.9532 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006114, allocations: 0 / 0.9532 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.006293, allocations: 80.98 kB / 0.9533 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.006315, allocations: 7.984 kB / 0.9533 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.006329, allocations: 0 / 0.9533 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.006351, allocations: 0 / 0.9533 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.006369, allocations: 4 kB / 0.9533 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006372, allocations: 3.938 kB / 0.9533 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.006451, allocations: 91.27 kB / 0.9534 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.006451, allocations: 0 / 0.9534 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001921/0.006643, allocations: 12.03 kB / 0.9534 GB, free: 8.852 MB / 0.8575 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 0.0001548/0.006798, allocations: 95.25 kB / 0.9535 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.79e-05/0.006896, allocations: 11.98 kB / 0.9535 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006898, allocations: 0 / 0.9535 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.006916, allocations: 7.938 kB / 0.9535 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.007082, allocations: 7.984 kB / 0.9535 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.007457, allocations: 108.9 kB / 0.9536 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.007549, allocations: 67.53 kB / 0.9537 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.007569, allocations: 4 kB / 0.9537 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.007599, allocations: 8.5 kB / 0.9537 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.0076, allocations: 0 / 0.9537 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.003149/0.01075, allocations: 345.5 kB / 0.954 GB, free: 8.156 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.013853393495083]