Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.583/2.583, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 71.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5542, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002827/0.5571, allocations: 1.606 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.558, allocations: 0.5035 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.5581, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.576e-05/0.5582, allocations: 15.88 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.5582, allocations: 19.8 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.5585, allocations: 35.95 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.5586, allocations: 79.66 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.5587, allocations: 48.19 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.5588, allocations: 27.92 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.5589, allocations: 43.83 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.559, allocations: 8 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.559, allocations: 11.98 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.5591, allocations: 19.94 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.5591, allocations: 43.73 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.5593, allocations: 85.95 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5593, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5593, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.5593, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004888/0.5598, allocations: 404.2 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5598, allocations: 12.03 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.5599, allocations: 38.73 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.5599, allocations: 16.84 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.5601, allocations: 202 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5601, allocations: 8.375 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.5601, allocations: 4.375 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.5604, allocations: 111.9 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.5604, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5604, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5604, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.5606, allocations: 107.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.5612, allocations: 368.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5613, allocations: 66.48 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.5615, allocations: 44.95 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.5615, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5615, allocations: 34.55 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.5615, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004396/0.562, allocations: 173.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.562, allocations: 55.34 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.5621, allocations: 133.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5622, allocations: 25.7 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.5622, allocations: 104.1 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.5622, allocations: 23.66 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.5623, allocations: 21.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.5624, allocations: 326.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.5625, allocations: 39.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.5626, allocations: 35.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.5628, allocations: 89.17 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5628, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002657/0.5631, allocations: 129.5 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5631, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5631, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5632, allocations: 7.875 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5633, allocations: 19.97 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5633, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.5634, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.5634, allocations: 3.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.296e-05/0.5635, allocations: 125.8 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.5635, allocations: 11.84 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.5639, allocations: 138.3 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5639, allocations: 3.938 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5639, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5639, allocations: 3.984 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.5641, allocations: 209.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5641, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5642, allocations: 15.98 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5642, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5642, allocations: 3.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5642, allocations: 3.938 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5642, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.5646, allocations: 219.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.5646, allocations: 85 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.5646, allocations: 4.188 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.5647, allocations: 15.88 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.5648, allocations: 7.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5648, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.5649, allocations: 113 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5649, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000234/0.5651, allocations: 19.94 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005571/0.5657, allocations: 0.7592 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.566, allocations: 107.9 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.566, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5661, allocations: 55.95 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5663, allocations: 5.656 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.5681, allocations: 1.588 MB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.5683, allocations: 0.7041 MB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.5685, allocations: 19.97 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.5685, allocations: 23.44 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of SimCode: time 1.934e-06/0.5685, allocations: 0 / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.587, allocations: 1.975 MB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.835, allocations: 6.578 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches