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.00866/0.00866, allocations: 99.48 kB / 15.73 MB, free: 6.051 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.0018/0.0018, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.475/1.475, 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 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3135, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0019/0.3154, allocations: 0.5251 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001618/0.3156, allocations: 19.91 kB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.3156, allocations: 0 / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3157, allocations: 0 / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3159, allocations: 3.938 kB / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.3159, allocations: 0 / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.3159, allocations: 7.938 kB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.316, allocations: 11.98 kB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.3161, allocations: 0 / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.3161, allocations: 3.984 kB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3161, allocations: 0 / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-06/0.3161, allocations: 0 / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3161, allocations: 4 kB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.3162, allocations: 7.875 kB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.328e-05/0.3162, allocations: 4 kB / 1.167 GB, free: 6.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3162, allocations: 0 / 1.167 GB, free: 6.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3162, allocations: 0 / 1.167 GB, free: 6.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3163, allocations: 0 / 1.167 GB, free: 6.691 MB / 0.92 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.0003185/0.3166, allocations: 323.6 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3166, allocations: 12.03 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3167, allocations: 30.75 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.3167, allocations: 0.9375 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3168, allocations: 160.4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3168, allocations: 384 / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.3169, allocations: 4.375 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.317, allocations: 51.97 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.317, allocations: 3.938 kB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.317, allocations: 3.938 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.317, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.3171, allocations: 4 kB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3172, allocations: 154.5 kB / 1.167 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.3173, allocations: 41.16 kB / 1.167 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.3173, allocations: 17.84 kB / 1.167 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3173, allocations: 0 / 1.167 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3174, allocations: 34.84 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3174, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.3175, allocations: 53.47 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3176, allocations: 89.3 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.3177, allocations: 89.86 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3177, allocations: 25.7 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.3177, allocations: 80.14 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3177, allocations: 10.8 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3178, allocations: 13.72 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3179, allocations: 314.8 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.3179, allocations: 8.125 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.3179, allocations: 13.66 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.318, allocations: 21.72 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.318, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.682e-05/0.3181, allocations: 45.53 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3181, allocations: 7.938 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3181, allocations: 8.125 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3181, allocations: 0 / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.3182, allocations: 4 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3182, allocations: 0 / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.3182, allocations: 0 / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3182, allocations: 0 / 1.168 GB, free: 4.828 MB / 0.92 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.843e-05/0.3183, allocations: 117.8 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.3183, allocations: 3.938 kB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3185, allocations: 52.75 kB / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3185, allocations: 0 / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3185, allocations: 4 kB / 1.168 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3185, allocations: 3.984 kB / 1.168 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.3186, allocations: 141.7 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3186, allocations: 0 / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.3186, allocations: 4 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3186, allocations: 3.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3186, allocations: 8 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3187, allocations: 3.984 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3187, allocations: 8 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.47e-05/0.3187, allocations: 62 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3188, allocations: 85.09 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3188, allocations: 7.938 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.3188, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.3189, allocations: 7.969 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3189, allocations: 4 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.3189, allocations: 75.28 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 3.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001794/0.3191, allocations: 4 kB / 1.169 GB, free: 4.133 MB / 0.92 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.0003621/0.3195, allocations: 0.6055 MB / 1.169 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.707e-05/0.3195, allocations: 8 kB / 1.169 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3196, allocations: 3.938 kB / 1.169 GB, free: 3.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3196, allocations: 7.984 kB / 1.169 GB, free: 3.473 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3197, allocations: 4 kB / 1.169 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.32, allocations: 123.6 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3203, allocations: 0.6729 MB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.3203, allocations: 4 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3203, allocations: 7.438 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of SimCode: time 1.9e-07/0.3203, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.338, allocations: 0.9191 MB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.709, allocations: 14.55 kB / 1.171 GB, free: 1.734 MB / 0.92 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=50 --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