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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.006337/0.006337, allocations: 102 kB / 15.73 MB, free: 6.062 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.001755/0.001755, allocations: 192 kB / 16.67 MB, free: 5.973 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.406/1.406, 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 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 68.72 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2983, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002677/0.301, allocations: 1.599 MB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.3019, allocations: 0.5003 MB / 1.244 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.3019, allocations: 7.938 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.446e-05/0.302, allocations: 7.922 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.3021, allocations: 11.81 kB / 1.244 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.3023, allocations: 39.88 kB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3024, allocations: 79.72 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3026, allocations: 40.2 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.3027, allocations: 47.84 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.3028, allocations: 35.84 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3028, allocations: 4 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.3029, allocations: 15.98 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.3029, allocations: 19.92 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.303, allocations: 39.73 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3031, allocations: 99.8 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3031, allocations: 0 / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3032, allocations: 0 / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3032, allocations: 0 / 1.244 GB, free: 6.68 MB / 0.9669 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.000548/0.3037, allocations: 410.9 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3038, allocations: 12.03 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3038, allocations: 38.73 kB / 1.244 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3039, allocations: 16.78 kB / 1.244 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3041, allocations: 188.3 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3041, allocations: 8.375 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3041, allocations: 8.359 kB / 1.245 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3044, allocations: 113.7 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3044, allocations: 0 / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3044, allocations: 0 / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3044, allocations: 4 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3047, allocations: 95.92 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.3053, allocations: 384.5 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.3054, allocations: 58.55 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3056, allocations: 52.95 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.3056, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3056, allocations: 34.55 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3056, allocations: 4 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004748/0.3061, allocations: 165.5 kB / 1.245 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3062, allocations: 55.34 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3063, allocations: 135.5 kB / 1.246 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3063, allocations: 25.7 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.3064, allocations: 108.2 kB / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3064, allocations: 19.84 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.3065, allocations: 21.72 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3066, allocations: 322.8 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3068, allocations: 35.97 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3069, allocations: 39.97 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3071, allocations: 89.17 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3072, allocations: 11.94 kB / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002903/0.3074, allocations: 121.6 kB / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3075, allocations: 4 kB / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3075, allocations: 0 / 1.246 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3075, allocations: 3.938 kB / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3076, allocations: 23.97 kB / 1.246 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3077, allocations: 0 / 1.246 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3077, allocations: 11.94 kB / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3078, allocations: 11.98 kB / 1.246 GB, free: 3.867 MB / 0.9669 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.065e-05/0.3079, allocations: 114.4 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3079, allocations: 7.953 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3083, allocations: 146.2 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3083, allocations: 3.938 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3083, allocations: 3.938 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.3083, allocations: 7.984 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.3085, allocations: 201.6 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3085, allocations: 0 / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3087, allocations: 15.98 kB / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3087, allocations: 7.984 kB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3087, allocations: 3.984 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3087, allocations: 3.938 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3087, allocations: 0 / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3091, allocations: 227.6 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3091, allocations: 89.06 kB / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3092, allocations: 0 / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3093, allocations: 11.94 kB / 1.247 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.3093, allocations: 3.984 kB / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3093, allocations: 8 kB / 1.247 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.3094, allocations: 101 kB / 1.247 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3094, allocations: 4 kB / 1.247 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002434/0.3097, allocations: 23.95 kB / 1.247 GB, free: 2.801 MB / 0.9669 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.0006943/0.3104, allocations: 0.767 MB / 1.248 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3107, allocations: 95.94 kB / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3107, allocations: 0 / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3108, allocations: 59.89 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3111, allocations: 7.938 kB / 1.248 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.313, allocations: 1.602 MB / 1.25 GB, free: 168 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3133, allocations: 0.7041 MB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.3134, allocations: 15.89 kB / 1.251 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.3135, allocations: 31.36 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3135, allocations: 0 / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3355, allocations: 2.01 MB / 1.253 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.155, allocations: 15.95 kB / 1.253 GB, free: 13.46 MB / 0.9825 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 400 --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