Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.88 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001742/0.3158, allocations: 0.5317 MB / 1.215 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.316, allocations: 51.86 kB / 1.215 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.316, allocations: 0 / 1.215 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.316, allocations: 3.938 kB / 1.215 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.3162, allocations: 4 kB / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-05/0.3162, allocations: 0 / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.3163, allocations: 15.92 kB / 1.215 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.3163, allocations: 7.938 kB / 1.215 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.3164, allocations: 7.984 kB / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.3164, allocations: 11.98 kB / 1.215 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3164, allocations: 0 / 1.215 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.3164, allocations: 0 / 1.215 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.3165, allocations: 3.938 kB / 1.215 GB, free: 300 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.3165, allocations: 8 kB / 1.215 GB, free: 292 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.3166, allocations: 15.91 kB / 1.215 GB, free: 276 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3166, allocations: 0 / 1.215 GB, free: 276 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3166, allocations: 0 / 1.215 GB, free: 276 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3166, allocations: 0 / 1.215 GB, free: 276 kB / 0.9512 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.0004612/0.3171, allocations: 335.4 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3171, allocations: 8.031 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.3171, allocations: 12.89 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3173, allocations: 176.3 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3173, allocations: 384 / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3174, allocations: 384 / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.738e-05/0.3174, allocations: 34.25 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3174, allocations: 192 / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3175, allocations: 3.938 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3175, allocations: 4 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.3175, allocations: 4 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3177, allocations: 153.7 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.3177, allocations: 30.44 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.3177, allocations: 8.859 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3177, allocations: 8 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3178, allocations: 30.56 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3178, allocations: 4 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.3179, allocations: 45.58 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.318, allocations: 51.41 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.318, allocations: 109.8 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3181, allocations: 29.69 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3181, allocations: 92.08 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.3181, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3182, allocations: 9.844 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3183, allocations: 322.8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.3183, allocations: 3.984 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.3183, allocations: 13.72 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.3184, allocations: 25.7 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3184, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.973e-05/0.3185, allocations: 53.64 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3185, allocations: 8 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3185, allocations: 3.938 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3185, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.3186, allocations: 4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3186, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.3186, allocations: 4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.3186, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 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 8.225e-05/0.3187, allocations: 113.9 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3187, allocations: 8.25 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3188, allocations: 53.09 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3188, allocations: 4 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3188, allocations: 4 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3188, allocations: 0 / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.319, allocations: 149.7 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.319, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.319, allocations: 7.984 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.319, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.319, allocations: 11.97 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.319, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.319, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3192, allocations: 84.95 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.3192, allocations: 81.09 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3192, allocations: 7.969 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.3193, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.3193, allocations: 3.938 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3193, allocations: 4.094 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.3193, allocations: 91.27 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3193, allocations: 0 / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000182/0.3195, allocations: 4 kB / 1.217 GB, free: 13.75 MB / 0.9669 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.00011/0.3196, allocations: 95.25 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.3197, allocations: 19.92 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3197, allocations: 0 / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.3197, allocations: 8.125 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3199, allocations: 4 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3202, allocations: 147.1 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3205, allocations: 0.6768 MB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.3206, allocations: 11.44 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3206, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.002029/0.3226, allocations: 0.5083 MB / 1.218 GB, free: 12.22 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.388484294060618]