Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.006016/0.006016, allocations: 103 kB / 15.88 MB, free: 6.328 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.001439/0.001439, allocations: 196.7 kB / 16.79 MB, free: 6.254 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.12 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001997/0.3052, allocations: 0.5956 MB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.3054, allocations: 39.88 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.3055, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.3055, allocations: 3.938 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.3057, allocations: 3.984 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.734e-05/0.3058, allocations: 12 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.3058, allocations: 7.984 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.3059, allocations: 0 / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.3059, allocations: 15.88 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.306, allocations: 7.984 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.306, allocations: 0 / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.3061, allocations: 0 / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.3061, allocations: 11.98 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3062, allocations: 3.938 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.119e-05/0.3062, allocations: 7.984 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3062, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3062, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3062, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 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.0004536/0.3067, allocations: 335.5 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3067, allocations: 11.97 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3068, allocations: 8.844 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.307, allocations: 172.6 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.307, allocations: 384 / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.307, allocations: 4.312 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.3071, allocations: 38.25 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3071, allocations: 4.125 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3071, allocations: 3.938 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3071, allocations: 8 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.3072, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.3073, allocations: 153.7 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.3074, allocations: 18.61 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.3074, allocations: 16.89 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3074, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3075, allocations: 38.5 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3075, allocations: 4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.3076, allocations: 53.47 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3077, allocations: 51.41 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.3078, allocations: 113.8 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3078, allocations: 29.7 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.3078, allocations: 80.14 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3078, allocations: 3.984 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3079, allocations: 17.72 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.308, allocations: 315 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.308, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.308, allocations: 17.7 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.3081, allocations: 25.66 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3081, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.867e-05/0.3082, allocations: 53.59 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3082, allocations: 5.562 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3082, allocations: 3.938 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3082, allocations: 3.984 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.3083, allocations: 4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3083, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.3083, allocations: 8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3084, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 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.272e-05/0.3084, allocations: 109.8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.3084, allocations: 4.062 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3086, allocations: 57.14 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3086, allocations: 3.938 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3086, allocations: 3.938 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3086, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3087, allocations: 153.7 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3087, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.3088, allocations: 4 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3088, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3088, allocations: 7.969 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3088, allocations: 4 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3088, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3089, allocations: 73.11 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.309, allocations: 85.05 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.309, allocations: 7.922 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.309, allocations: 0 / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.3091, allocations: 96 / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3091, allocations: 4.25 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.3091, allocations: 99.2 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3091, allocations: 3.938 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001891/0.3093, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 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.0001144/0.3094, allocations: 99.25 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.3095, allocations: 11.98 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3095, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.3096, allocations: 8.125 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.3097, allocations: 4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.31, allocations: 148.9 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3103, allocations: 0.6848 MB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.3103, allocations: 7.438 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3103, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of Templates: time 0.001699/0.312, allocations: 0.5076 MB / 1.057 GB, free: 3.516 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches