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.007017/0.007017, allocations: 98.98 kB / 15.73 MB, free: 6.031 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.001877/0.001877, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 64.42 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 162.2 MB / 1.241 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001588/0.2821, allocations: 0.5289 MB / 1.242 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.2823, allocations: 15.92 kB / 1.242 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2823, allocations: 0 / 1.242 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.2823, allocations: 0 / 1.242 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2825, allocations: 0 / 1.242 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.865e-06/0.2825, allocations: 0 / 1.242 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.2825, allocations: 11.92 kB / 1.242 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.2826, allocations: 3.984 kB / 1.242 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.2826, allocations: 11.94 kB / 1.242 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.2827, allocations: 4 kB / 1.242 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2827, allocations: 0 / 1.242 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-06/0.2827, allocations: 0 / 1.242 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.2827, allocations: 0 / 1.242 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.203e-05/0.2827, allocations: 0 / 1.242 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.365e-05/0.2828, allocations: 9.344 kB / 1.242 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2828, allocations: 0 / 1.242 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2828, allocations: 0 / 1.242 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2828, allocations: 0 / 1.242 GB, free: 8.719 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003001/0.2831, allocations: 323.8 kB / 1.242 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2831, allocations: 8.031 kB / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.2832, allocations: 34.75 kB / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.717e-05/0.2832, allocations: 0.9375 kB / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2833, allocations: 172.3 kB / 1.243 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2833, allocations: 4.312 kB / 1.243 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.2833, allocations: 384 / 1.243 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.2834, allocations: 43.97 kB / 1.243 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2834, allocations: 7.938 kB / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.2835, allocations: 0 / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2835, allocations: 4 kB / 1.243 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.2835, allocations: 3.938 kB / 1.243 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2837, allocations: 158.5 kB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.2837, allocations: 37.28 kB / 1.243 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.2837, allocations: 17.72 kB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2838, allocations: 3.984 kB / 1.243 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2838, allocations: 38.91 kB / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2838, allocations: 0 / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.2839, allocations: 49.56 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.284, allocations: 77.36 kB / 1.243 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.2841, allocations: 97.86 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2841, allocations: 25.7 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.2841, allocations: 80.14 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2842, allocations: 7.953 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.2842, allocations: 21.64 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2843, allocations: 310.8 kB / 1.243 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.2843, allocations: 0 / 1.243 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.2844, allocations: 17.84 kB / 1.243 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.2844, allocations: 21.66 kB / 1.243 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2844, allocations: 0 / 1.243 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.642e-05/0.2845, allocations: 45.69 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2845, allocations: 7.938 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2845, allocations: 3.984 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.2845, allocations: 128 / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.2846, allocations: 8 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2846, allocations: 3.938 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.2846, allocations: 4 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2846, allocations: 0 / 1.244 GB, free: 6.84 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.734e-05/0.2847, allocations: 110.4 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.2847, allocations: 11.92 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2848, allocations: 52.75 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2848, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2849, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2849, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.285, allocations: 153.6 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.285, allocations: 0 / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.285, allocations: 7.984 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.285, allocations: 7.875 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.285, allocations: 0 / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.285, allocations: 4 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.285, allocations: 0 / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.2851, allocations: 70 kB / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2852, allocations: 81.09 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2852, allocations: 7.938 kB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.2852, allocations: 0 / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.2853, allocations: 0 / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.2853, allocations: 0 / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.2853, allocations: 83.31 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2853, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000197/0.2855, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 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.0003856/0.2859, allocations: 0.6133 MB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.286, allocations: 15.92 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.286, allocations: 0 / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.286, allocations: 4 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.2861, allocations: 4 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.2864, allocations: 127.4 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2867, allocations: 0.6692 MB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.2867, allocations: 8 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.2867, allocations: 7.438 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.2867, allocations: 0 / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.3068, allocations: 0.9263 MB / 1.246 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.32, allocations: 9.172 kB / 1.246 GB, free: 3.758 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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