Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_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.00548/0.00548, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001299/0.001299, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 71.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2737, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001605/0.2753, allocations: 0.5276 MB / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.2755, allocations: 23.91 kB / 1.242 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2755, allocations: 0 / 1.242 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.2755, allocations: 0 / 1.242 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2757, allocations: 11.92 kB / 1.242 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.2757, allocations: 0 / 1.242 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.2757, allocations: 0 / 1.242 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.2758, allocations: 4 kB / 1.242 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.2758, allocations: 0 / 1.242 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.38e-05/0.2759, allocations: 8 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.2759, allocations: 0 / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.2759, allocations: 0 / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2759, allocations: 7.922 kB / 1.242 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.2759, allocations: 0 / 1.242 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.005e-05/0.276, allocations: 3.984 kB / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.276, allocations: 0 / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.276, allocations: 0 / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.276, allocations: 4 kB / 1.242 GB, free: 9.23 MB / 0.9981 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.0002866/0.2763, allocations: 311.6 kB / 1.243 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2763, allocations: 12.03 kB / 1.243 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.2763, allocations: 34.69 kB / 1.243 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.2764, allocations: 4.891 kB / 1.243 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2765, allocations: 164.4 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-06/0.2765, allocations: 4.375 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.2765, allocations: 384 / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2766, allocations: 47.92 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2766, allocations: 7.875 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.2766, allocations: 4 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2767, allocations: 0 / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.2767, allocations: 11.92 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2769, allocations: 154.5 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.2769, allocations: 33.22 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.2769, allocations: 17.78 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.277, allocations: 11.98 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.277, allocations: 30.56 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.277, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.2771, allocations: 45.58 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.2772, allocations: 81.11 kB / 1.243 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.2773, allocations: 98.09 kB / 1.243 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2773, allocations: 25.7 kB / 1.243 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.2773, allocations: 84.14 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.2773, allocations: 3.953 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.2774, allocations: 13.72 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2775, allocations: 314.8 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.2775, allocations: 0 / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.2775, allocations: 13.84 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.2776, allocations: 29.7 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2776, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.621e-05/0.2777, allocations: 37.64 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2777, allocations: 13.5 kB / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2777, allocations: 0 / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2777, allocations: 0 / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.2778, allocations: 11.98 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2778, allocations: 4.062 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.2778, allocations: 0 / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2778, allocations: 0 / 1.244 GB, free: 7.367 MB / 0.9981 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.815e-05/0.2779, allocations: 113.8 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.2779, allocations: 3.938 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.278, allocations: 52.73 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.278, allocations: 4.062 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.278, allocations: 4 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.278, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2781, allocations: 153.6 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2782, allocations: 0 / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.2782, allocations: 0 / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2782, allocations: 7.938 kB / 1.244 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.2782, allocations: 0 / 1.244 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2782, allocations: 3.938 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2782, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.982e-05/0.2783, allocations: 81.88 kB / 1.244 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.2784, allocations: 77.11 kB / 1.244 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2784, allocations: 3.938 kB / 1.244 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.2784, allocations: 4 kB / 1.244 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.2784, allocations: 7.984 kB / 1.244 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2784, allocations: 0 / 1.244 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.2785, allocations: 79.31 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001768/0.2787, allocations: 4 kB / 1.245 GB, free: 6.672 MB / 0.9981 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.0003658/0.279, allocations: 0.602 MB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.2791, allocations: 12.12 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2791, allocations: 4 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.2791, allocations: 3.938 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.2793, allocations: 4 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2795, allocations: 119.4 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2798, allocations: 0.6729 MB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.2799, allocations: 8.234 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.2799, allocations: 7.438 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.2799, allocations: 4 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8171/1.097, allocations: 0.9297 MB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.92, allocations: 7.125 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches