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.001143/0.001143, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.008465/0.008465, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 443.4 MB / 0.7176 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004258, allocations: 11.53 kB / 0.8797 GB, free: 41.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 155.2 MB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001636/0.2833, allocations: 1.307 MB / 1.033 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008429/0.2842, allocations: 0.5079 MB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.2842, allocations: 3.938 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.147e-05/0.2843, allocations: 3.938 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.2843, allocations: 15.86 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2845, allocations: 35.97 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.2846, allocations: 71.77 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2848, allocations: 36.5 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.2849, allocations: 31.84 kB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.285, allocations: 27.84 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.285, allocations: 8 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.285, allocations: 8 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.2851, allocations: 19.86 kB / 1.033 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.2851, allocations: 61.44 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2853, allocations: 79.62 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2853, allocations: 0 / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2853, allocations: 4 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2853, allocations: 0 / 1.033 GB, free: 1.938 MB / 0.7794 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.0004754/0.2858, allocations: 391.2 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2858, allocations: 8.031 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2859, allocations: 38.75 kB / 1.034 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.2859, allocations: 12.75 kB / 1.034 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2861, allocations: 193.9 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.2861, allocations: 4.359 kB / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2861, allocations: 8.375 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.2864, allocations: 121.7 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2864, allocations: 3.938 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2864, allocations: 4 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2864, allocations: 4 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2867, allocations: 103.9 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.2872, allocations: 400.4 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2874, allocations: 62.55 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.2875, allocations: 60.89 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.2875, allocations: 4 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2876, allocations: 34.56 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2876, allocations: 0 / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004628/0.288, allocations: 189.4 kB / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2881, allocations: 55.34 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2882, allocations: 130.9 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2882, allocations: 25.7 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.2883, allocations: 104.1 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2883, allocations: 19.8 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.2883, allocations: 13.72 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.2884, allocations: 322.8 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2886, allocations: 43.97 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2887, allocations: 43.97 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2889, allocations: 108.7 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2889, allocations: 0 / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002807/0.2892, allocations: 137.5 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2892, allocations: 4 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2892, allocations: 0 / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2893, allocations: 3.938 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2894, allocations: 23.97 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2894, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.2895, allocations: 15.91 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2895, allocations: 7.984 kB / 1.036 GB, free: 15.06 MB / 0.795 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 8.081e-05/0.2896, allocations: 125.8 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.2896, allocations: 3.906 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.29, allocations: 162.2 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.29, allocations: 3.938 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.29, allocations: 0.5 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2901, allocations: 3.984 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2902, allocations: 205.6 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2903, allocations: 4 kB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2904, allocations: 23.98 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2904, allocations: 0 / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2904, allocations: 7.984 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2904, allocations: 3.938 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2904, allocations: 0 / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.2907, allocations: 235.3 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.2908, allocations: 89 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2908, allocations: 0 / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2909, allocations: 11.94 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.291, allocations: 7.984 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.291, allocations: 7.938 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.291, allocations: 108.8 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2911, allocations: 0 / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002379/0.2913, allocations: 16 kB / 1.037 GB, free: 13.96 MB / 0.795 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.000592/0.2919, allocations: 0.7787 MB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.2922, allocations: 111.9 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2922, allocations: 0 / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.2923, allocations: 59.89 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2926, allocations: 11.94 kB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.2943, allocations: 1.657 MB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2945, allocations: 0.7043 MB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.073e-05/0.2946, allocations: 23.95 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.2947, allocations: 27.42 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.2947, allocations: 0 / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.3049, allocations: 1.71 MB / 1.042 GB, free: 8.867 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.3051, allocations: 199.7 kB / 1.042 GB, free: 8.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.501, allocations: 4.062 kB / 1.042 GB, free: 8.609 MB / 0.795 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