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.005102/0.005102, allocations: 102 kB / 15.73 MB, free: 6.441 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.001133/0.001133, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.657/2.657, allocations: 437.1 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3126, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003431/0.3161, allocations: 1.599 MB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3171, allocations: 0.4996 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.3173, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.3174, allocations: 7.875 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.3175, allocations: 15.84 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3178, allocations: 39.91 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.318, allocations: 83.7 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3182, allocations: 40.2 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3183, allocations: 39.84 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3185, allocations: 43.84 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.3185, allocations: 4 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.3186, allocations: 12 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.3186, allocations: 23.91 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.3187, allocations: 39.73 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3189, allocations: 91.8 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3189, allocations: 4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3189, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3189, allocations: 0 / 1.169 GB, free: 4.766 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006016/0.3196, allocations: 410.9 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3196, allocations: 8.031 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.3197, allocations: 38.75 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3197, allocations: 16.83 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3199, allocations: 194.1 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3199, allocations: 4.375 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.32, allocations: 12.31 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3202, allocations: 105.8 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3203, allocations: 4 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3203, allocations: 4 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3203, allocations: 4 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.3206, allocations: 87.94 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.3212, allocations: 388.5 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3213, allocations: 62.55 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3215, allocations: 44.95 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.3215, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3216, allocations: 38.5 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3216, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004673/0.322, allocations: 169.5 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3221, allocations: 55.34 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3222, allocations: 131.9 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3222, allocations: 29.7 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3223, allocations: 104.2 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3223, allocations: 19.86 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3224, allocations: 25.7 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3225, allocations: 318.8 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3226, allocations: 39.97 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3227, allocations: 40.22 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.323, allocations: 92.88 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.323, allocations: 4 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002846/0.3233, allocations: 125.6 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3233, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3233, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.3233, allocations: 3.938 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3235, allocations: 19.98 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3235, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.3236, allocations: 7.984 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.3236, allocations: 8 kB / 1.171 GB, free: 1.965 MB / 0.92 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.846e-05/0.3237, allocations: 125.7 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3238, allocations: 7.953 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.3241, allocations: 142.3 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3242, allocations: 7.938 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3242, allocations: 3.938 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3242, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3244, allocations: 209.6 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3244, allocations: 0 / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3245, allocations: 15.98 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3245, allocations: 4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3246, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3246, allocations: 8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3246, allocations: 4 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3249, allocations: 219.4 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.325, allocations: 85.06 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.325, allocations: 3.984 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3252, allocations: 11.94 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3252, allocations: 7.984 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3252, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.3253, allocations: 99.27 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3253, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002514/0.3256, allocations: 23.94 kB / 1.172 GB, free: 0.8906 MB / 0.92 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.0006385/0.3262, allocations: 0.7631 MB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.3265, allocations: 99.94 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3265, allocations: 0 / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3267, allocations: 51.91 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.327, allocations: 17.95 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.329, allocations: 1.607 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3293, allocations: 0.7002 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.3294, allocations: 11.98 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.3295, allocations: 31.42 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of SimCode: time 4.469e-06/0.3295, allocations: 0 / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.3485, allocations: 2.009 MB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.201, allocations: 11.39 kB / 1.177 GB, free: 11.55 MB / 0.9356 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