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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005481/0.005487, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001347/0.001347, allocations: 190 kB / 16.67 MB, free: 6.379 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.12 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001604/0.2872, allocations: 0.5297 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000178/0.2874, allocations: 47.8 kB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.2874, allocations: 0 / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.2875, allocations: 4 kB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2876, allocations: 3.938 kB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.001e-05/0.2877, allocations: 4 kB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.2878, allocations: 15.92 kB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.2878, allocations: 4 kB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.2879, allocations: 8 kB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.2879, allocations: 15.91 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.288, allocations: 4 kB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.288, allocations: 0 / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.288, allocations: 0 / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.2881, allocations: 7.938 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.928e-05/0.2881, allocations: 11.98 kB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2881, allocations: 0 / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2881, allocations: 3.938 kB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2881, allocations: 0 / 1.208 GB, free: 9.539 MB / 0.9669 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.0003722/0.2885, allocations: 331.7 kB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2886, allocations: 8.625 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2886, allocations: 38.73 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.2886, allocations: 4.938 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.2888, allocations: 176.2 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2888, allocations: 384 / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2888, allocations: 384 / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.2889, allocations: 38.19 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2889, allocations: 3.938 kB / 1.208 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.289, allocations: 4 kB / 1.208 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.289, allocations: 0 / 1.208 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.289, allocations: 4 kB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2891, allocations: 157.7 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.2892, allocations: 22.56 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.2892, allocations: 12.86 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.2892, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2893, allocations: 38.56 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.2893, allocations: 0 / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.2894, allocations: 41.62 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.2895, allocations: 59.39 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2895, allocations: 105.8 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2896, allocations: 25.7 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.2896, allocations: 88.14 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2896, allocations: 3.906 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.2897, allocations: 17.84 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.2898, allocations: 314.8 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.2898, allocations: 11.92 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.2898, allocations: 13.72 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.2899, allocations: 17.7 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2899, allocations: 4.062 kB / 1.209 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.424e-05/0.2899, allocations: 53.62 kB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.29, allocations: 7.938 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.29, allocations: 0 / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.29, allocations: 0 / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.2901, allocations: 7.938 kB / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2901, allocations: 0 / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.2901, allocations: 4 kB / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2901, allocations: 0 / 1.209 GB, free: 7.711 MB / 0.9669 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.517e-05/0.2902, allocations: 113.9 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2902, allocations: 11.94 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2903, allocations: 49.06 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2903, allocations: 4 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2903, allocations: 3.938 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2904, allocations: 3.984 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2905, allocations: 153.9 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2905, allocations: 4 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.2905, allocations: 7.984 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2906, allocations: 7.969 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2906, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2906, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2906, allocations: 4 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2907, allocations: 77.06 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.2908, allocations: 81.09 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2908, allocations: 7.969 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.2908, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.2908, allocations: 4.094 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2908, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.2909, allocations: 91.27 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2909, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001798/0.2911, allocations: 4 kB / 1.21 GB, free: 6.988 MB / 0.9669 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.0003769/0.2915, allocations: 0.6163 MB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.2916, allocations: 19.92 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2916, allocations: 4 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.2916, allocations: 4 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2918, allocations: 4 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.2927, allocations: 1.151 MB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.293, allocations: 0.6807 MB / 1.212 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.293, allocations: 11.94 kB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.2931, allocations: 11.38 kB / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.2931, allocations: 0 / 1.212 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3118, allocations: 1.195 MB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.231, allocations: 12.64 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > 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) "" Variables in the reference:time,c Variables in the result:a[1],a[2],a[3],b,c,der(c),efficient,time