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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007274/0.007274, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001813/0.001813, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.88 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001842/0.2715, allocations: 0.5288 MB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.2717, allocations: 23.91 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.2718, allocations: 0 / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.2718, allocations: 0 / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.272, allocations: 7.938 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.987e-06/0.272, allocations: 0 / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.272, allocations: 0 / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.2721, allocations: 7.984 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.2722, allocations: 4 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.2722, allocations: 3.938 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2722, allocations: 4 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.2722, allocations: 0 / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.2723, allocations: 3.938 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.2723, allocations: 3.984 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.319e-05/0.2723, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2723, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2723, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2724, allocations: 4 kB / 1.22 GB, free: 14.07 MB / 0.9825 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.2727, allocations: 323.5 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2727, allocations: 8.031 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.2727, allocations: 30.75 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.2728, allocations: 4.875 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2729, allocations: 160.4 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2729, allocations: 4.375 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2729, allocations: 384 / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.273, allocations: 47.97 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.273, allocations: 11.88 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2731, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2731, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.2731, allocations: 4 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.2732, allocations: 158.5 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.2733, allocations: 37.16 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.2733, allocations: 21.83 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.2734, allocations: 4 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2734, allocations: 30.56 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2734, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.2736, allocations: 49.56 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2736, allocations: 81.11 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.2737, allocations: 94.11 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2737, allocations: 25.7 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.2737, allocations: 84.14 kB / 1.221 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2737, allocations: 3.953 kB / 1.221 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2738, allocations: 17.7 kB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2739, allocations: 318.8 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.2739, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.2739, allocations: 21.78 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.274, allocations: 17.72 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.274, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.376e-05/0.274, allocations: 41.62 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2741, allocations: 11.94 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2741, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2741, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.2742, allocations: 8.125 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2742, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.2742, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2742, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 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.561e-05/0.2743, allocations: 118.4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.2743, allocations: 7.875 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.2744, allocations: 52.7 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2744, allocations: 8.062 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2744, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2744, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.81e-05/0.2745, allocations: 141.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2745, allocations: 4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.2746, allocations: 3.984 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2746, allocations: 7.938 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.2746, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2746, allocations: 3.938 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2746, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.867e-05/0.2747, allocations: 71.84 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.2747, allocations: 81.09 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2747, allocations: 3.938 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.2748, allocations: 4 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.2748, allocations: 4 kB / 1.222 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2748, allocations: 0 / 1.222 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.2748, allocations: 79.31 kB / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000198/0.275, allocations: 4 kB / 1.222 GB, free: 11.52 MB / 0.9825 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.0003408/0.2754, allocations: 0.6055 MB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.2755, allocations: 15.92 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2755, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.2755, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.2756, allocations: 10.12 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.2759, allocations: 127.3 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.2761, allocations: 0.6731 MB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.2762, allocations: 4 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.2762, allocations: 7.438 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2762, allocations: 0 / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2932, allocations: 0.9321 MB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.308, allocations: 9.656 kB / 1.225 GB, free: 9.113 MB / 0.9825 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 50 --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