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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001353/0.001353, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 68.53 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.286, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003326/0.2894, allocations: 1.602 MB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000983/0.2904, allocations: 0.5181 MB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.2905, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2906, allocations: 11.86 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.2907, allocations: 11.88 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.291, allocations: 47.88 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2911, allocations: 75.72 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2913, allocations: 40.22 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2914, allocations: 35.89 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2915, allocations: 39.84 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.2916, allocations: 8 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.2917, allocations: 11.94 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.2917, allocations: 27.91 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.2918, allocations: 39.73 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.292, allocations: 87.92 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.292, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.292, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.292, allocations: 0 / 1.055 GB, free: 5.719 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.0005907/0.2926, allocations: 399.1 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2927, allocations: 12.62 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.2927, allocations: 38.73 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.2928, allocations: 12.84 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.293, allocations: 192.1 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.293, allocations: 8.375 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.293, allocations: 4.375 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2933, allocations: 117.7 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2934, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2934, allocations: 4 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2934, allocations: 0 / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.2937, allocations: 99.92 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.2944, allocations: 380.5 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.2947, allocations: 62.55 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.2948, allocations: 48.95 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.2949, allocations: 8 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2949, allocations: 30.56 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.2949, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005044/0.2954, allocations: 169.4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2955, allocations: 55.34 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2956, allocations: 135.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2956, allocations: 29.64 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.2957, allocations: 107.9 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2957, allocations: 15.89 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2957, allocations: 21.7 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2958, allocations: 322.8 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.296, allocations: 39.97 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.2961, allocations: 39.97 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.2963, allocations: 88.75 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2963, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002775/0.2966, allocations: 125.5 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2966, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2966, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2966, allocations: 3.938 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2968, allocations: 15.98 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.2969, allocations: 11.98 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.2969, allocations: 3.938 kB / 1.058 GB, free: 2.926 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.237e-05/0.297, allocations: 125.8 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.297, allocations: 11.89 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.2974, allocations: 142.7 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2974, allocations: 4 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2974, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2974, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2976, allocations: 221.4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2976, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2977, allocations: 15.98 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2977, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2977, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2978, allocations: 3.938 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2978, allocations: 7.984 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.2981, allocations: 219.3 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2981, allocations: 85 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.2982, allocations: 4 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.2983, allocations: 11.94 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2983, allocations: 7.984 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2983, allocations: 4 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.2984, allocations: 104.8 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2984, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000237/0.2986, allocations: 16 kB / 1.059 GB, free: 1.855 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.0006106/0.2993, allocations: 0.7675 MB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.2996, allocations: 99.88 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2996, allocations: 0 / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2997, allocations: 63.89 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.2999, allocations: 9.031 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3017, allocations: 1.595 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.302, allocations: 0.7002 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.3021, allocations: 11.98 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.3022, allocations: 35.3 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3022, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.321, allocations: 1.967 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.66, allocations: 5.312 kB / 1.064 GB, free: 12.55 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