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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001339/0.001339, allocations: 105.5 kB / 16.27 MB, free: 6.41 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.001361/0.001362, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 469.4 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 54.66 kB / 0.9088 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002035/0.3038, allocations: 0.5386 MB / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.304, allocations: 43.81 kB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.3041, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.3041, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3043, allocations: 15.92 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.025e-05/0.3043, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.3044, allocations: 11.98 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.3045, allocations: 7.938 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.3045, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.3046, allocations: 19.92 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3046, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.3046, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.3047, allocations: 7.984 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.3047, allocations: 7.938 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.3048, allocations: 7.984 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3048, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3048, allocations: 3.938 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3048, allocations: 0 / 1.065 GB, free: 14.42 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.0004977/0.3053, allocations: 327.5 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3054, allocations: 12.62 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3054, allocations: 8.938 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3056, allocations: 172.6 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3056, allocations: 384 / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3057, allocations: 384 / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.3057, allocations: 38.19 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3058, allocations: 4.172 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3058, allocations: 3.938 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3058, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.3058, allocations: 7.938 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.306, allocations: 161.6 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.3061, allocations: 18.58 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.3061, allocations: 12.84 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3061, allocations: 4.062 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3062, allocations: 30.56 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3062, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.3063, allocations: 45.62 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3064, allocations: 51.41 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.3065, allocations: 113.8 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3065, allocations: 25.7 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3066, allocations: 88.14 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3066, allocations: 3.984 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3066, allocations: 9.719 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3067, allocations: 323 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.3068, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.3068, allocations: 17.7 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.3068, allocations: 25.66 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3068, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.879e-05/0.3069, allocations: 49.53 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.307, allocations: 12.12 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.307, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.307, allocations: 3.984 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.3071, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3071, allocations: 3.938 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.3071, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3071, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8419 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.179e-05/0.3072, allocations: 109.8 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.3072, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.3073, allocations: 61.08 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3073, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3073, allocations: 4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3073, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.361e-05/0.3074, allocations: 153.7 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3074, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.3075, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3075, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3075, allocations: 7.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3075, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3075, allocations: 8.016 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.3076, allocations: 77.03 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3077, allocations: 81.09 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3077, allocations: 11.91 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.3077, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.3078, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3078, allocations: 3.938 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.3078, allocations: 99.61 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3078, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000178/0.308, allocations: 4 kB / 1.067 GB, free: 11.91 MB / 0.8419 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.0001064/0.3081, allocations: 91.78 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.3082, allocations: 19.98 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3082, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.3082, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3084, allocations: 8.188 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.3088, allocations: 151.5 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3091, allocations: 0.6768 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.3091, allocations: 7.438 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3091, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.001862/0.311, allocations: 0.5114 MB / 1.068 GB, free: 10.37 MB / 0.8419 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