Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.00151, allocations: 106.4 kB / 16.36 MB, free: 6.293 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.001643/0.001643, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.12 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2827, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003141/0.2859, allocations: 1.594 MB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.2868, allocations: 0.4957 MB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.2868, allocations: 4 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.287, allocations: 15.86 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.287, allocations: 15.81 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2873, allocations: 39.94 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2874, allocations: 79.7 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.2876, allocations: 36.22 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.2876, allocations: 43.78 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.2877, allocations: 39.84 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2878, allocations: 8 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.2878, allocations: 15.92 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.2879, allocations: 27.91 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.2879, allocations: 43.73 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.2881, allocations: 87.64 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2881, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2881, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2881, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7325 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.0006075/0.2888, allocations: 399 kB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2888, allocations: 16.02 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2888, allocations: 16.78 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.2891, allocations: 196.1 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2891, allocations: 8.359 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.2892, allocations: 4.375 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.2894, allocations: 113.9 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2895, allocations: 0 / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2895, allocations: 0 / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2895, allocations: 0 / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.2897, allocations: 107.9 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.2904, allocations: 372.6 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.2905, allocations: 62.48 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2906, allocations: 48.95 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.2907, allocations: 8 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2907, allocations: 30.56 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.2907, allocations: 0 / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004614/0.2912, allocations: 165.5 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2913, allocations: 55.41 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2914, allocations: 139.7 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2914, allocations: 25.7 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.2915, allocations: 104 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2915, allocations: 19.8 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.2916, allocations: 25.7 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2917, allocations: 318.8 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2918, allocations: 39.97 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.2919, allocations: 39.97 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2922, allocations: 88.81 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2922, allocations: 0 / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002622/0.2924, allocations: 126 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2925, allocations: 8 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2925, allocations: 4 kB / 0.956 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2925, allocations: 3.938 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2926, allocations: 23.92 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2926, allocations: 0 / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.2927, allocations: 19.86 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2928, allocations: 0 / 0.9561 GB, free: 2.723 MB / 0.7325 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.554e-05/0.2928, allocations: 125.8 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2929, allocations: 7.906 kB / 0.9562 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.2932, allocations: 142.3 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2932, allocations: 3.938 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2932, allocations: 4 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2932, allocations: 0 / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2934, allocations: 213.5 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2934, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.2936, allocations: 15.98 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2936, allocations: 0 / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2936, allocations: 4 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2936, allocations: 11.92 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2936, allocations: 0 / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.2939, allocations: 215.4 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2939, allocations: 89 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.294, allocations: 0 / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.2941, allocations: 15.88 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2941, allocations: 7.984 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2941, allocations: 0 / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.2942, allocations: 113.3 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2942, allocations: 0 / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000236/0.2944, allocations: 16 kB / 0.957 GB, free: 1.656 MB / 0.7325 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.0001318/0.2946, allocations: 99.25 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.2949, allocations: 100.1 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2949, allocations: 0 / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.295, allocations: 59.89 kB / 0.9573 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.2952, allocations: 8 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.2957, allocations: 207.1 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2959, allocations: 0.7041 MB / 0.9581 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.826e-05/0.296, allocations: 15.97 kB / 0.9582 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.2961, allocations: 15.42 kB / 0.9582 GB, free: 404 kB / 0.7325 GB Notification: Performance of SimCode: time 1.393e-06/0.2961, allocations: 0 / 0.9582 GB, free: 404 kB / 0.7325 GB Notification: Performance of Templates: time 0.003046/0.2991, allocations: 0.7261 MB / 0.9589 GB, free: 15.68 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches