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: 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_latest_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_latest_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.001567/0.001567, allocations: 103.6 kB / 16.36 MB, free: 5.875 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.001783/0.001783, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.52 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3193, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002833/0.3222, allocations: 1.618 MB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.323, allocations: 0.5034 MB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.323, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.117e-05/0.3232, allocations: 7.875 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.3232, allocations: 15.84 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.3234, allocations: 31.91 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3236, allocations: 95.69 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3237, allocations: 32.22 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.3238, allocations: 39.91 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.3239, allocations: 39.83 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3239, allocations: 7.938 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.324, allocations: 19.94 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.324, allocations: 15.98 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.3241, allocations: 39.73 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3242, allocations: 95.62 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3242, allocations: 7.938 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3243, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3243, allocations: 0 / 1.029 GB, free: 15.49 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.0004886/0.3248, allocations: 399.1 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3248, allocations: 8.031 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.3248, allocations: 12.84 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.325, allocations: 200 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.325, allocations: 4.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3251, allocations: 8.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3253, allocations: 104.6 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3253, allocations: 7.984 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.3254, allocations: 8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3254, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3256, allocations: 91.94 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.3262, allocations: 372.5 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3263, allocations: 62.55 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3264, allocations: 56.88 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3265, allocations: 3.984 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3265, allocations: 34.56 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3265, allocations: 0 / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004435/0.3269, allocations: 161.5 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.327, allocations: 63.34 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.3271, allocations: 132.3 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3271, allocations: 29.64 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3272, allocations: 107.9 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3272, allocations: 23.88 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.3272, allocations: 17.72 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3274, allocations: 322.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3275, allocations: 39.91 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3276, allocations: 39.97 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.3278, allocations: 96.8 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3278, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002576/0.3281, allocations: 126 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3281, allocations: 7.984 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3281, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3281, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3283, allocations: 23.86 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3283, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.3283, allocations: 7.984 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3284, allocations: 8 kB / 1.032 GB, free: 12.73 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 7.983e-05/0.3285, allocations: 117.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3285, allocations: 7.906 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3288, allocations: 146.3 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3288, allocations: 3.938 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3288, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3289, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.329, allocations: 205.5 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3291, allocations: 4 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3292, allocations: 23.91 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3292, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3292, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3292, allocations: 3.938 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3292, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3295, allocations: 231.4 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3295, allocations: 81.02 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3296, allocations: 4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3297, allocations: 16.05 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3297, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3297, allocations: 11.98 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.3298, allocations: 107.2 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3298, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002282/0.33, allocations: 19.94 kB / 1.033 GB, free: 11.66 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.0001268/0.3302, allocations: 95.25 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.3304, allocations: 107.9 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3304, allocations: 0 / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3306, allocations: 51.91 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3308, allocations: 10.19 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.3312, allocations: 207.3 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3315, allocations: 0.7041 MB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.471e-05/0.3316, allocations: 11.98 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.3316, allocations: 11.44 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3316, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002661/0.3343, allocations: 0.72 MB / 1.034 GB, free: 9.695 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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