Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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.001669/0.001669, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001833/0.001833, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.634/2.634, allocations: 443.4 MB / 0.7304 GB, free: 13.94 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00168/0.3232, allocations: 0.537 MB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.3233, allocations: 15.97 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.3233, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.3234, allocations: 3.938 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.3235, allocations: 4 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.677e-06/0.3235, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.3236, allocations: 7.984 kB / 1.217 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.3236, allocations: 3.984 kB / 1.217 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.3237, allocations: 15.81 kB / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.3237, allocations: 0 / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3237, allocations: 4 kB / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.3238, allocations: 0 / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.3238, allocations: 4 kB / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.3238, allocations: 3.938 kB / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.616e-05/0.3238, allocations: 0 / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3238, allocations: 0 / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3238, allocations: 0 / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3239, allocations: 0 / 1.217 GB, free: 14.78 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004125/0.3243, allocations: 323.5 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3243, allocations: 12.03 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.3243, allocations: 4.938 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3245, allocations: 164.4 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3245, allocations: 384 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.3245, allocations: 384 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3246, allocations: 51.91 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3246, allocations: 192 / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3246, allocations: 7.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3246, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.3247, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.3249, allocations: 154.5 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.3249, allocations: 41.2 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.3249, allocations: 9.719 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.325, allocations: 0 / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.325, allocations: 42.62 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.325, allocations: 0 / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.3251, allocations: 45.56 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3252, allocations: 77.11 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.3253, allocations: 97.86 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3253, allocations: 26.08 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.3253, allocations: 88.08 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3253, allocations: 3.953 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3254, allocations: 17.66 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3255, allocations: 318.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.3255, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.3256, allocations: 13.72 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.3256, allocations: 17.78 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3256, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.746e-05/0.3257, allocations: 49.62 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3257, allocations: 4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3257, allocations: 3.938 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3257, allocations: 3.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.3258, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3258, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.3258, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3258, allocations: 4.062 kB / 1.218 GB, free: 12.95 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.108e-05/0.3259, allocations: 105.8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.3259, allocations: 8 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.326, allocations: 48.69 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.326, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.326, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.326, allocations: 4.047 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3261, allocations: 157.6 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3262, allocations: 4 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.3262, allocations: 7.938 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.3262, allocations: 0 / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3262, allocations: 3.938 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.3262, allocations: 7.984 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3262, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.3263, allocations: 66 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.3264, allocations: 85.03 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3264, allocations: 7.938 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.3264, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.3264, allocations: 4 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3264, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.3265, allocations: 79.28 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3265, allocations: 3.938 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001781/0.3266, allocations: 8.062 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001306/0.3268, allocations: 97.5 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.292e-05/0.3269, allocations: 11.98 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3269, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.3269, allocations: 11.94 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.327, allocations: 2.188 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.3273, allocations: 102 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3276, allocations: 0.6768 MB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.3276, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3276, allocations: 11.42 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.3276, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.002316/0.33, allocations: 204.9 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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: 7.889896348118782]