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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001818/0.001818, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.02 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2881, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002719/0.2909, allocations: 1.662 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.2917, allocations: 0.5026 MB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.2917, allocations: 0 / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2919, allocations: 7.938 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.2919, allocations: 15.86 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2921, allocations: 31.97 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2922, allocations: 79.7 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2924, allocations: 40.2 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.2924, allocations: 31.92 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.2925, allocations: 39.78 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2926, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.2926, allocations: 19.86 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.2927, allocations: 27.91 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.2927, allocations: 31.81 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2928, allocations: 83.92 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2929, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2929, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2929, allocations: 4 kB / 1.055 GB, free: 5.586 MB / 0.8106 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.0004846/0.2934, allocations: 407.1 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2934, allocations: 11.97 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.2934, allocations: 42.73 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.2935, allocations: 12.84 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2936, allocations: 196.1 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.2937, allocations: 4.375 kB / 1.055 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.2937, allocations: 4.375 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2939, allocations: 115.5 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.294, allocations: 4 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.294, allocations: 4 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.294, allocations: 0 / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.2942, allocations: 99.92 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.2948, allocations: 380.5 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2949, allocations: 62.55 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.2951, allocations: 44.95 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.2951, allocations: 8 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2951, allocations: 34.55 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.2952, allocations: 0 / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004414/0.2956, allocations: 169.5 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2956, allocations: 55.34 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2957, allocations: 136.6 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2958, allocations: 25.7 kB / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.2958, allocations: 103.9 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2959, allocations: 19.89 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2959, allocations: 21.7 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.296, allocations: 322.8 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.2961, allocations: 39.97 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2963, allocations: 39.97 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2965, allocations: 96.67 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2965, allocations: 0 / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002768/0.2968, allocations: 125.5 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2968, allocations: 4 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2968, allocations: 0 / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2968, allocations: 3.938 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.297, allocations: 23.97 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.297, allocations: 3.938 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.2971, allocations: 4 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2971, allocations: 8.422 kB / 1.057 GB, free: 2.777 MB / 0.8106 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.675e-05/0.2972, allocations: 125.8 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2972, allocations: 7.906 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.2976, allocations: 138.3 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2976, allocations: 7.938 kB / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2976, allocations: 0 / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2976, allocations: 3.984 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2978, allocations: 217.5 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.2979, allocations: 15.98 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.298, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.298, allocations: 7.984 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.298, allocations: 3.938 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.298, allocations: 3.938 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2983, allocations: 219.4 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.2983, allocations: 89.02 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2984, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2985, allocations: 7.938 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.2985, allocations: 7.984 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2985, allocations: 4 kB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.2986, allocations: 104.8 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 0 / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002316/0.2988, allocations: 20 kB / 1.058 GB, free: 1.715 MB / 0.8106 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.0005851/0.2994, allocations: 0.7553 MB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2997, allocations: 103.9 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2997, allocations: 0 / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.2999, allocations: 60.14 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3001, allocations: 9.656 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3018, allocations: 1.612 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3021, allocations: 0.7043 MB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.445e-05/0.3022, allocations: 23.95 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3023, allocations: 31.42 kB / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3023, allocations: 0 / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.3131, allocations: 1.779 MB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.3133, allocations: 197.1 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.056, allocations: 8 kB / 1.063 GB, free: 12.35 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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