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.005592/0.005592, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001571/0.001571, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.629/2.629, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001545/0.2759, allocations: 0.5311 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.276, allocations: 11.92 kB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.2761, allocations: 0 / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2761, allocations: 0 / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.2762, allocations: 8 kB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.976e-06/0.2762, allocations: 0 / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.2763, allocations: 15.92 kB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.2764, allocations: 7.984 kB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.2764, allocations: 3.938 kB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.2764, allocations: 4 kB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.2765, allocations: 0 / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-06/0.2765, allocations: 0 / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.2765, allocations: 0 / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.2765, allocations: 0 / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 3.911e-05/0.2765, allocations: 3.938 kB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2765, allocations: 0 / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.728e-06/0.2766, allocations: 4 kB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2766, allocations: 4 kB / 1.167 GB, free: 6.762 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.0003056/0.2769, allocations: 323.8 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2769, allocations: 8.031 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.277, allocations: 30.75 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.66e-05/0.277, allocations: 0.9375 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2771, allocations: 164.4 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2771, allocations: 8.312 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-06/0.2771, allocations: 384 / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.2772, allocations: 43.98 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2773, allocations: 3.938 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2773, allocations: 4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2773, allocations: 0 / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.2773, allocations: 7.984 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2775, allocations: 162.5 kB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.2775, allocations: 41.16 kB / 1.167 GB, free: 5.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.2776, allocations: 13.84 kB / 1.167 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2776, allocations: 0 / 1.167 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2776, allocations: 42.83 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2776, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.2778, allocations: 49.8 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2778, allocations: 77.11 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.2779, allocations: 93.86 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2779, allocations: 25.7 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.278, allocations: 88.12 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.278, allocations: 7.891 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.278, allocations: 9.719 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2781, allocations: 315 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.2782, allocations: 8 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.2782, allocations: 13.72 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.2782, allocations: 17.66 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2782, allocations: 0 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.677e-05/0.2783, allocations: 41.69 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2783, allocations: 16.06 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2783, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2783, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.2784, allocations: 8 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2784, allocations: 3.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.2784, allocations: 3.984 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2785, allocations: 0 / 1.168 GB, free: 4.891 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.051e-05/0.2785, allocations: 113.8 kB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.2785, allocations: 3.938 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.2787, allocations: 52.75 kB / 1.168 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2787, allocations: 4 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2787, allocations: 0 / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2787, allocations: 0 / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2788, allocations: 157.6 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2788, allocations: 0 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.2788, allocations: 4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2789, allocations: 3.938 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2789, allocations: 64 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2789, allocations: 4 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2789, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.279, allocations: 73.92 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.279, allocations: 77.11 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.279, allocations: 3.938 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.2791, allocations: 0 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.2791, allocations: 11.97 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2791, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.2791, allocations: 83.27 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.874e-06/0.2792, allocations: 0 / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000179/0.2793, allocations: 7.938 kB / 1.169 GB, free: 4.195 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.000388/0.2797, allocations: 0.6055 MB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.2798, allocations: 15.94 kB / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2798, allocations: 0 / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.2798, allocations: 4 kB / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.28, allocations: 2.188 kB / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2803, allocations: 123.6 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2806, allocations: 0.6729 MB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.2806, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.2806, allocations: 15.42 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/0.2806, allocations: 0 / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.301, allocations: 0.9221 MB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.84, allocations: 11.92 kB / 1.171 GB, free: 1.797 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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