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.007983/0.007983, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001943/0.001943, allocations: 193.7 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.632/2.632, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003278/0.295, allocations: 1.601 MB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2961, allocations: 0.4957 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.2961, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2963, allocations: 19.86 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.2964, allocations: 7.875 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2966, allocations: 39.89 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2968, allocations: 79.7 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.297, allocations: 44.2 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2971, allocations: 35.84 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2973, allocations: 47.84 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2973, allocations: 4 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.2974, allocations: 8 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.2974, allocations: 27.91 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.2975, allocations: 39.73 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.2977, allocations: 91.8 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2977, allocations: 3.938 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2977, allocations: 4 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2977, allocations: 0 / 1.169 GB, free: 4.68 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.0006642/0.2984, allocations: 407 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2985, allocations: 8.031 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.2985, allocations: 42.73 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2986, allocations: 12.84 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2988, allocations: 196.1 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2988, allocations: 384 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2989, allocations: 8.375 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.2991, allocations: 109.8 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2992, allocations: 4 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2992, allocations: 4 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2992, allocations: 0 / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.2995, allocations: 95.92 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.3002, allocations: 384.5 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3004, allocations: 62.55 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3005, allocations: 44.95 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3006, allocations: 11.94 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3006, allocations: 30.56 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3006, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004873/0.3011, allocations: 169.5 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3011, allocations: 55.34 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3013, allocations: 135.4 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3013, allocations: 25.7 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.3014, allocations: 104.2 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3014, allocations: 15.86 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3015, allocations: 25.7 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3017, allocations: 322.8 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3018, allocations: 39.97 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3019, allocations: 43.91 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3021, allocations: 88.8 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3021, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000278/0.3024, allocations: 126 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3024, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3025, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3025, allocations: 3.938 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3026, allocations: 19.98 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3026, allocations: 11.92 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.3027, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3028, allocations: 8 kB / 1.171 GB, free: 1.879 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 0.0001718/0.3029, allocations: 121.8 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.303, allocations: 15.88 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.3034, allocations: 142.2 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3034, allocations: 7.938 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3034, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3034, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3037, allocations: 213.6 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3037, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3038, allocations: 19.92 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3039, allocations: 0 / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3039, allocations: 4 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3039, allocations: 7.922 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3039, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3042, allocations: 215.5 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3043, allocations: 89.05 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3043, allocations: 4 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3044, allocations: 7.938 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3045, allocations: 7.984 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3045, allocations: 4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.3046, allocations: 105.4 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3046, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000254/0.3049, allocations: 19.95 kB / 1.172 GB, free: 0.8164 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.0006714/0.3055, allocations: 0.7671 MB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.3059, allocations: 107.9 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3059, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.306, allocations: 51.95 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3063, allocations: 7.938 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3083, allocations: 1.614 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3086, allocations: 0.7002 MB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.3088, allocations: 11.98 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3088, allocations: 31.42 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3088, allocations: 0 / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.3289, allocations: 1.995 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.178, allocations: 10.52 kB / 1.177 GB, free: 11.47 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