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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001739/0.001738, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.7 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.2 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3178, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001848/0.3197, allocations: 0.5246 MB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.3199, allocations: 39.88 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.32, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.32, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3201, allocations: 7.938 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.607e-05/0.3202, allocations: 11.98 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.3203, allocations: 11.92 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3203, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.3203, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.3204, allocations: 11.92 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3204, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.3205, allocations: 4 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.3205, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3205, allocations: 7.922 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.4e-05/0.3206, allocations: 15.92 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3206, allocations: 4 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3206, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3206, allocations: 3.938 kB / 1.069 GB, free: 9.742 MB / 0.8262 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.0004105/0.321, allocations: 331.5 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3211, allocations: 16.02 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3211, allocations: 4.922 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3213, allocations: 172.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3213, allocations: 4.312 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3213, allocations: 8.375 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.3214, allocations: 38.25 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.3214, allocations: 192 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3215, allocations: 3.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3215, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.3215, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3216, allocations: 153.7 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.3217, allocations: 26.53 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.3217, allocations: 12.92 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3217, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3218, allocations: 30.56 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3218, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.3219, allocations: 45.62 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3219, allocations: 51.41 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.322, allocations: 121.8 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3221, allocations: 29.83 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3221, allocations: 80.14 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.3221, allocations: 3.906 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3222, allocations: 17.72 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3223, allocations: 314.8 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.3223, allocations: 7.984 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.3223, allocations: 13.72 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.3224, allocations: 29.77 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3224, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.035e-05/0.3225, allocations: 49.62 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3225, allocations: 4 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3225, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3225, allocations: 7.938 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.3226, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3226, allocations: 8.062 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.3226, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3226, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 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 6.91e-05/0.3227, allocations: 115.4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.3227, allocations: 0 / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.3228, allocations: 57.09 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3228, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3228, allocations: 3.938 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3229, allocations: 32 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.323, allocations: 161.7 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.323, allocations: 0 / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.323, allocations: 3.984 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.323, allocations: 4 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.3231, allocations: 3.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3231, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3231, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3232, allocations: 80.97 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.3233, allocations: 85.12 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3233, allocations: 3.938 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.3233, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.3233, allocations: 8 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.3233, allocations: 256 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.3234, allocations: 91.27 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3234, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001768/0.3236, allocations: 4 kB / 1.071 GB, free: 7.234 MB / 0.8262 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.0001015/0.3237, allocations: 99.88 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.3238, allocations: 11.98 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3238, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.3238, allocations: 11.94 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.3239, allocations: 4 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.3242, allocations: 129.6 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3245, allocations: 0.6848 MB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.3245, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.3245, allocations: 11.38 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3246, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.002271/0.3268, allocations: 315 kB / 1.072 GB, free: 5.918 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches