Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008792/0.008792, allocations: 94.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 198.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 65.86 kB / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3205, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001773/0.3223, allocations: 0.5321 MB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000189/0.3225, allocations: 35.86 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3226, allocations: 4 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.3226, allocations: 3.938 kB / 1.088 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.3228, allocations: 0 / 1.088 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.582e-05/0.3228, allocations: 11.94 kB / 1.088 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.3229, allocations: 11.98 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.323, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.323, allocations: 4 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3231, allocations: 23.91 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3231, allocations: 0 / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.3231, allocations: 0 / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.3232, allocations: 4 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.3232, allocations: 3.938 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.658e-05/0.3233, allocations: 11.92 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3233, allocations: 0 / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3233, allocations: 4 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3233, allocations: 0 / 1.089 GB, free: 0.8555 MB / 0.8419 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.0004385/0.3238, allocations: 335.4 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3238, allocations: 12.03 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3239, allocations: 0.9375 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3241, allocations: 180.2 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3241, allocations: 384 / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3241, allocations: 8.312 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.3242, allocations: 38.25 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3242, allocations: 192 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3242, allocations: 3.938 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3242, allocations: 4 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.3243, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3244, allocations: 157.7 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/0.3245, allocations: 22.84 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.3245, allocations: 8.922 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3245, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3246, allocations: 30.56 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3246, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.3247, allocations: 45.62 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3248, allocations: 51.41 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.3249, allocations: 121.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3249, allocations: 25.7 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.3249, allocations: 80.14 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.325, allocations: 3.953 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.325, allocations: 17.72 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3251, allocations: 319 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.3251, allocations: 7.984 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.3252, allocations: 13.72 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.3252, allocations: 25.7 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3252, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.019e-05/0.3253, allocations: 53.69 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3253, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3253, allocations: 12.12 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3253, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.3254, allocations: 11.98 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3254, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.3255, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3255, allocations: 0 / 1.09 GB, free: 15.05 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 7.096e-05/0.3255, allocations: 113.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.3256, allocations: 8.016 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3257, allocations: 57.09 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3257, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3257, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3257, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3258, allocations: 157.7 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3258, allocations: 0 / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3259, allocations: 3.984 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3259, allocations: 4 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3259, allocations: 7.875 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3259, allocations: 4.031 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3259, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.326, allocations: 73.06 kB / 1.09 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3261, allocations: 85.12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3261, allocations: 3.938 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.3261, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3262, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.3262, allocations: 4.094 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.3262, allocations: 87.27 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3262, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001802/0.3264, allocations: 4 kB / 1.091 GB, free: 14.34 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.0001025/0.3265, allocations: 95.25 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.3266, allocations: 15.92 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3266, allocations: 4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/0.3267, allocations: 8.125 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.3268, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.3271, allocations: 117.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3273, allocations: 0.6768 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.3274, allocations: 7.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.3274, allocations: 7.438 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3274, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of Templates: time 0.002208/0.3296, allocations: 321.1 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches