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.001515/0.001515, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001321/0.001321, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.398/1.398, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.643/2.643, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 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.002027/0.002027, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00161/0.3215, allocations: 0.5235 MB / 1.176 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.3216, allocations: 11.98 kB / 1.176 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.3217, allocations: 0 / 1.176 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.3217, allocations: 3.938 kB / 1.176 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3219, allocations: 15.92 kB / 1.176 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/0.3219, allocations: 0 / 1.176 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.3219, allocations: 7.922 kB / 1.176 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.322, allocations: 8 kB / 1.176 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.322, allocations: 0 / 1.176 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.3221, allocations: 0 / 1.176 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3221, allocations: 3.938 kB / 1.176 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-06/0.3221, allocations: 4 kB / 1.176 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.3221, allocations: 0 / 1.176 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.3221, allocations: 3.938 kB / 1.176 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 4.643e-05/0.3222, allocations: 3.984 kB / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3222, allocations: 0 / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3222, allocations: 0 / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3222, allocations: 0 / 1.176 GB, free: 5.281 MB / 0.92 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.0003229/0.3225, allocations: 327.5 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3226, allocations: 12.03 kB / 1.177 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3226, allocations: 0.9375 kB / 1.177 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3227, allocations: 160.4 kB / 1.177 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3228, allocations: 384 / 1.177 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3228, allocations: 8.359 kB / 1.177 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3229, allocations: 47.97 kB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3229, allocations: 8.125 kB / 1.177 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3229, allocations: 3.938 kB / 1.177 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3229, allocations: 0 / 1.177 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.3229, allocations: 4 kB / 1.177 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3231, allocations: 154.5 kB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.3232, allocations: 37.16 kB / 1.177 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.3232, allocations: 17.84 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3232, allocations: 0 / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3233, allocations: 34.97 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3233, allocations: 3.938 kB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000153/0.3234, allocations: 45.56 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3235, allocations: 81.36 kB / 1.177 GB, free: 4.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.3236, allocations: 97.86 kB / 1.177 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3236, allocations: 25.7 kB / 1.177 GB, free: 4.008 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.3236, allocations: 80.14 kB / 1.177 GB, free: 3.926 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3237, allocations: 7.953 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3237, allocations: 13.7 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3238, allocations: 314.8 kB / 1.178 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.3239, allocations: 4 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.3239, allocations: 17.78 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.3239, allocations: 17.72 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3239, allocations: 3.938 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.574e-05/0.324, allocations: 45.62 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.324, allocations: 4 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.324, allocations: 7.938 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.324, allocations: 8.125 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3241, allocations: 0 / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3241, allocations: 4 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.3241, allocations: 0 / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3242, allocations: 0 / 1.178 GB, free: 3.453 MB / 0.92 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.322e-05/0.3242, allocations: 117.8 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.3243, allocations: 3.984 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3244, allocations: 52.7 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.3244, allocations: 3.984 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3244, allocations: 0 / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3244, allocations: 4 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3245, allocations: 149.6 kB / 1.178 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3245, allocations: 0 / 1.178 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3246, allocations: 4 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3246, allocations: 3.984 kB / 1.178 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3246, allocations: 7.938 kB / 1.178 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3246, allocations: 3.938 kB / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3246, allocations: 64 / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.3247, allocations: 66 kB / 1.178 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.3247, allocations: 85.09 kB / 1.178 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3248, allocations: 7.875 kB / 1.178 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.3248, allocations: 0 / 1.178 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.3248, allocations: 4 kB / 1.178 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3248, allocations: 8.031 kB / 1.178 GB, free: 2.836 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.3249, allocations: 75.28 kB / 1.178 GB, free: 2.762 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3249, allocations: 0 / 1.178 GB, free: 2.762 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001809/0.325, allocations: 0 / 1.178 GB, free: 2.762 MB / 0.92 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.0001203/0.3252, allocations: 99.19 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.3253, allocations: 11.98 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3253, allocations: 0 / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.3253, allocations: 12.22 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3254, allocations: 0 / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.3256, allocations: 123.4 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3259, allocations: 0.669 MB / 1.179 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3259, allocations: 11.44 kB / 1.179 GB, free: 1.766 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3259, allocations: 0 / 1.179 GB, free: 1.766 MB / 0.92 GB Notification: Performance of Templates: time 0.001767/0.3277, allocations: 375.8 kB / 1.18 GB, free: 1.398 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.97826124005951]