Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",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.005505/0.005505, allocations: 98.77 kB / 15.73 MB, free: 6.016 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.001532/0.001532, allocations: 193.3 kB / 16.68 MB, free: 5.934 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.84 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6414, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001476/0.6429, allocations: 0.5273 MB / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.6431, allocations: 25.81 kB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.6431, allocations: 0 / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.6431, allocations: 0 / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.6433, allocations: 3.984 kB / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.099e-06/0.6433, allocations: 0 / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.6433, allocations: 7.938 kB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.6434, allocations: 7.984 kB / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.6434, allocations: 4 kB / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.6434, allocations: 0 / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.6434, allocations: 0 / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/0.6435, allocations: 0 / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.6435, allocations: 4 kB / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.6435, allocations: 11.88 kB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.035e-05/0.6435, allocations: 3.984 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6435, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6435, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.6436, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002818/0.6438, allocations: 319.5 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6439, allocations: 12.92 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.6439, allocations: 30.75 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.6439, allocations: 0.9375 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.644, allocations: 164.3 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6441, allocations: 4.375 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-06/0.6441, allocations: 384 / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.6442, allocations: 47.97 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.6442, allocations: 3.938 kB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.6442, allocations: 4 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6442, allocations: 3.938 kB / 1.167 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.6442, allocations: 3.938 kB / 1.167 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.6444, allocations: 155.5 kB / 1.167 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.6445, allocations: 45.27 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.6445, allocations: 9.719 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.6445, allocations: 8 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6445, allocations: 34.56 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6445, allocations: 0 / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.6447, allocations: 49.56 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6447, allocations: 85.36 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.6448, allocations: 89.86 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.6448, allocations: 25.7 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.6448, allocations: 80.14 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.6449, allocations: 10.62 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.6449, allocations: 13.72 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.645, allocations: 314.8 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.645, allocations: 8.125 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.6451, allocations: 9.719 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.6451, allocations: 25.66 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6451, allocations: 0 / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.788e-05/0.6452, allocations: 37.69 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6452, allocations: 7.938 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.6452, allocations: 4.125 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6452, allocations: 4 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.6453, allocations: 7.938 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6453, allocations: 4 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.6453, allocations: 0 / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.6453, allocations: 3.938 kB / 1.168 GB, free: 1.305 MB / 0.8887 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.644e-05/0.6454, allocations: 105.8 kB / 1.168 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.6454, allocations: 7.938 kB / 1.168 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.6455, allocations: 56.73 kB / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6455, allocations: 0 / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6455, allocations: 0 / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6455, allocations: 7.984 kB / 1.168 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6456, allocations: 145.6 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6456, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.6457, allocations: 7.938 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.6457, allocations: 3.938 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6457, allocations: 8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6457, allocations: 8.047 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6457, allocations: 0 / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.483e-05/0.6458, allocations: 65.94 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.6458, allocations: 85.09 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.6459, allocations: 3.938 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.6459, allocations: 0 / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.6459, allocations: 4.031 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.6459, allocations: 4 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.6459, allocations: 75.28 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6459, allocations: 0 / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001808/0.6461, allocations: 0 / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000372/0.6465, allocations: 0.6133 MB / 1.169 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.94e-05/0.6466, allocations: 8 kB / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.6466, allocations: 0 / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.6466, allocations: 11.92 kB / 1.169 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.6467, allocations: 8 kB / 1.169 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.647, allocations: 115.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6473, allocations: 0.6768 MB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.311e-05/0.6473, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.6473, allocations: 7.438 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.6473, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6129/1.26, allocations: 0.9305 MB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.25, allocations: 10.69 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches