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: 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.001916/0.001916, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.002185/0.002185, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.489/2.489, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.95 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003144/0.3197, allocations: 1.598 MB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00095/0.3207, allocations: 0.4988 MB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.3208, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3209, allocations: 11.86 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.321, allocations: 19.86 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3213, allocations: 35.91 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3214, allocations: 83.7 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3216, allocations: 44.2 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3217, allocations: 27.92 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.3218, allocations: 51.69 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3219, allocations: 8 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.3219, allocations: 12 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.322, allocations: 23.92 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3221, allocations: 35.8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.3222, allocations: 87.92 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3222, allocations: 4 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3223, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3223, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 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.0005764/0.3228, allocations: 403.1 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3229, allocations: 11.97 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.3229, allocations: 12.75 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3231, allocations: 192.2 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3232, allocations: 384 / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3232, allocations: 16.31 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3235, allocations: 116.1 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3235, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3235, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3235, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.3237, allocations: 91.92 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.3244, allocations: 380.5 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3245, allocations: 54.55 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3247, allocations: 56.95 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.3247, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3247, allocations: 34.55 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3248, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004671/0.3252, allocations: 161.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3253, allocations: 55.41 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3254, allocations: 143.9 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3254, allocations: 25.7 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.3255, allocations: 104 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.3255, allocations: 23.88 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.3256, allocations: 17.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3258, allocations: 322.8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3259, allocations: 35.97 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.326, allocations: 43.97 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3262, allocations: 96.73 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3262, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002695/0.3265, allocations: 121.5 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3265, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3265, allocations: 4 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3266, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3267, allocations: 27.91 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3267, allocations: 3.938 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.3268, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3268, allocations: 7.984 kB / 1.069 GB, free: 9.719 MB / 0.8419 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.886e-05/0.3269, allocations: 120.3 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3269, allocations: 11.84 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.3273, allocations: 154.7 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3273, allocations: 3.938 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3273, allocations: 4.062 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3273, allocations: 3.984 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3275, allocations: 201.6 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3275, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3276, allocations: 15.98 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3277, allocations: 8 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3277, allocations: 7.922 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3277, allocations: 3.938 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3277, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.328, allocations: 219.3 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.3281, allocations: 89 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3281, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3282, allocations: 15.94 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3282, allocations: 7.984 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3283, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.3283, allocations: 105 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3283, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002384/0.3286, allocations: 16 kB / 1.07 GB, free: 8.652 MB / 0.8419 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.0001384/0.3287, allocations: 95.25 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.329, allocations: 107.9 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.329, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3291, allocations: 55.95 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3294, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.3299, allocations: 252.8 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3301, allocations: 0.7001 MB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.3302, allocations: 15.42 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of SimCode: time 1.513e-06/0.3302, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.002751/0.3329, allocations: 1.12 MB / 1.072 GB, free: 6.258 MB / 0.8419 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 -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