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.00146/0.00146, allocations: 108 kB / 15.61 MB, free: 152 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.002037/0.002037, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.14 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001687/0.2957, allocations: 0.5315 MB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.2959, allocations: 43.86 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.296, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.296, allocations: 3.938 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2961, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.046e-05/0.2962, allocations: 11.94 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.2963, allocations: 7.984 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.2963, allocations: 4 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.2964, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.2965, allocations: 19.91 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2965, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.2965, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.2966, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.2966, allocations: 7.938 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.407e-05/0.2966, allocations: 11.92 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2967, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2967, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2967, allocations: 3.938 kB / 1.069 GB, free: 9.789 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.0004074/0.2971, allocations: 341.2 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2971, allocations: 8.031 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.2972, allocations: 0.9375 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2973, allocations: 188.5 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.2973, allocations: 384 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2974, allocations: 384 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.2974, allocations: 34.25 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2975, allocations: 192 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2975, allocations: 3.938 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2975, allocations: 4 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.2975, allocations: 4 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2977, allocations: 153.7 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/0.2977, allocations: 22.52 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.2977, allocations: 8.844 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2977, allocations: 0 / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2978, allocations: 38.62 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2978, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.2979, allocations: 49.56 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.298, allocations: 51.41 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.298, allocations: 113.8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2981, allocations: 25.7 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.2981, allocations: 80.14 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2981, allocations: 15.89 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.2982, allocations: 17.78 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.2983, allocations: 314.8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.2983, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.2983, allocations: 21.7 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.2984, allocations: 17.72 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2984, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.022e-05/0.2984, allocations: 53.69 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2985, allocations: 8 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2985, allocations: 11.86 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2985, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.2986, allocations: 4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2986, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.2986, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2986, allocations: 4 kB / 1.07 GB, free: 7.992 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.93e-05/0.2987, allocations: 113.8 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.2987, allocations: 3.984 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.599e-05/0.2988, allocations: 57.14 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2988, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2988, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2988, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.2989, allocations: 157.7 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2989, allocations: 0 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.299, allocations: 4 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.299, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.299, allocations: 7.969 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.299, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.299, allocations: 3.984 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.2991, allocations: 84.97 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2992, allocations: 81.09 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2992, allocations: 3.938 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.2992, allocations: 4.031 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.2993, allocations: 4.094 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.2993, allocations: 256 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.2993, allocations: 95.27 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2993, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001811/0.2995, allocations: 4 kB / 1.071 GB, free: 7.273 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.0001007/0.2996, allocations: 91.78 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.2997, allocations: 19.92 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2997, allocations: 128 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.2997, allocations: 12 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.2999, allocations: 1.875 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.3001, allocations: 129.6 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3004, allocations: 0.6846 MB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.3004, allocations: 3.938 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.3004, allocations: 11.44 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3004, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.002136/0.3026, allocations: 318.5 kB / 1.072 GB, free: 5.961 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