Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_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.005205/0.005205, allocations: 99.81 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.001112/0.001113, allocations: 192.2 kB / 16.67 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.7422 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8755, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002864/0.8784, allocations: 1.597 MB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.8793, allocations: 0.4988 MB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.8794, allocations: 0 / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.8795, allocations: 11.86 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.8796, allocations: 23.8 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.8798, allocations: 35.95 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.8799, allocations: 79.77 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.8801, allocations: 52.02 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.8802, allocations: 32.05 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.8803, allocations: 35.84 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.8804, allocations: 8 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.8804, allocations: 15.98 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.8805, allocations: 27.91 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.8805, allocations: 35.75 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.8807, allocations: 87.3 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.8807, allocations: 3.984 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8807, allocations: 7.938 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8807, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 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.0005368/0.8813, allocations: 406.9 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.8813, allocations: 8.625 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.8814, allocations: 42.73 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.8814, allocations: 16.84 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.8816, allocations: 190.1 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.8816, allocations: 4.375 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8816, allocations: 12.38 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.8819, allocations: 109.7 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.8819, allocations: 0 / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.8819, allocations: 4 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8819, allocations: 0 / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.8822, allocations: 98.03 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.8828, allocations: 388.5 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.883, allocations: 54.55 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.8831, allocations: 48.95 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.8831, allocations: 15.91 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8832, allocations: 34.56 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.8832, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004609/0.8836, allocations: 165.5 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8837, allocations: 55.34 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.8838, allocations: 129.8 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8838, allocations: 25.7 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.8839, allocations: 108.1 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.8839, allocations: 27.92 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.884, allocations: 13.72 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8841, allocations: 322.8 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.8842, allocations: 43.91 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.8844, allocations: 35.97 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.8846, allocations: 92.8 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8846, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002866/0.8849, allocations: 125.5 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8849, allocations: 10.03 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8849, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8849, allocations: 3.938 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8851, allocations: 28.41 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8851, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.8852, allocations: 8 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.8852, allocations: 3.984 kB / 1.225 GB, free: 12.95 MB / 0.9512 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 9.574e-05/0.8853, allocations: 118.4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.8854, allocations: 11.95 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.8857, allocations: 146.3 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.8858, allocations: 7.922 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8858, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8858, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.886, allocations: 209.5 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.886, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.8861, allocations: 15.98 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8861, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8862, allocations: 3.984 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.8862, allocations: 7.938 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8862, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.8865, allocations: 227.4 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.8866, allocations: 85.06 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.8866, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8867, allocations: 11.92 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.8868, allocations: 8 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8868, allocations: 7.984 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.8869, allocations: 111.1 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8869, allocations: 0 / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002495/0.8871, allocations: 12 kB / 1.226 GB, free: 11.87 MB / 0.9512 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.0006525/0.8878, allocations: 0.764 MB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.8881, allocations: 104.1 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8881, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.8882, allocations: 59.89 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.8885, allocations: 10.28 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.8904, allocations: 1.602 MB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.8907, allocations: 0.7002 MB / 1.229 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.8909, allocations: 11.98 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.891, allocations: 31.42 kB / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.891, allocations: 0 / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.9122, allocations: 2.025 MB / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.901, allocations: 0.5938 kB / 1.231 GB, free: 6.535 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches