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.0008525/0.0008525, allocations: 92.78 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.004902/0.004903, allocations: 173 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 10.31 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.258, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001654/0.2598, allocations: 1.327 MB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007665/0.2605, allocations: 0.4949 MB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.2606, allocations: 0 / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.2607, allocations: 7.938 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.2607, allocations: 11.86 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2609, allocations: 35.91 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.261, allocations: 79.7 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2612, allocations: 36.22 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.2612, allocations: 31.91 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.2613, allocations: 31.84 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2613, allocations: 3.938 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.2614, allocations: 8 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.2614, allocations: 11.98 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.2615, allocations: 61.44 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2616, allocations: 83.91 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2616, allocations: 0 / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2616, allocations: 3.938 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2616, allocations: 0 / 1.061 GB, free: 2.652 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.0004719/0.2621, allocations: 395.2 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2622, allocations: 11.97 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2622, allocations: 42.69 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2622, allocations: 16.75 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2624, allocations: 198 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2624, allocations: 8.375 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2625, allocations: 4.375 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.2627, allocations: 117.8 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2627, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2627, allocations: 4 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2627, allocations: 0 / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.263, allocations: 115.9 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.2635, allocations: 388.4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2637, allocations: 70.48 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2638, allocations: 56.95 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.2639, allocations: 7.984 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2639, allocations: 30.56 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2639, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004586/0.2644, allocations: 185.5 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2644, allocations: 55.34 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2645, allocations: 137.8 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2645, allocations: 25.7 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.2646, allocations: 104 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2646, allocations: 15.89 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.2647, allocations: 17.72 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2648, allocations: 318.8 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.2649, allocations: 43.97 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.265, allocations: 47.97 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.2652, allocations: 100.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2652, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002644/0.2655, allocations: 137.5 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2655, allocations: 5.406 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2655, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2656, allocations: 3.938 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2657, allocations: 31.91 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2657, allocations: 3.938 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.2658, allocations: 11.91 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2658, allocations: 3.984 kB / 1.064 GB, free: 15.76 MB / 0.8262 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.239e-05/0.2659, allocations: 117.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.2659, allocations: 8.344 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.2663, allocations: 162.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2663, allocations: 11.86 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2663, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2663, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2665, allocations: 201.6 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2665, allocations: 4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2666, allocations: 19.98 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2666, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2666, allocations: 7.984 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2666, allocations: 3.938 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2667, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.267, allocations: 231.4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.267, allocations: 85.02 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.267, allocations: 0 / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2672, allocations: 23.92 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.2672, allocations: 7.938 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2672, allocations: 7.984 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.2673, allocations: 101.1 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2673, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002193/0.2675, allocations: 12 kB / 1.064 GB, free: 14.67 MB / 0.8262 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.0005815/0.2681, allocations: 0.771 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.2684, allocations: 119.9 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2684, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2685, allocations: 56.28 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2687, allocations: 7.938 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2704, allocations: 1.667 MB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2707, allocations: 0.7005 MB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.097e-05/0.2708, allocations: 19.95 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.2708, allocations: 27.42 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2708, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8816/1.152, allocations: 1.71 MB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.153, allocations: 200.5 kB / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.811, allocations: 0 / 1.07 GB, free: 9.336 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