Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007198/0.007198, allocations: 102 kB / 15.73 MB, free: 6.012 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.001595/0.001595, allocations: 194.4 kB / 16.67 MB, free: 5.926 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9184, allocations: 159.1 MB / 1.221 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002516/0.9209, allocations: 1.607 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.9218, allocations: 0.5027 MB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.9219, allocations: 3.938 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.922, allocations: 7.875 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.922, allocations: 23.91 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.9223, allocations: 35.95 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.9224, allocations: 79.77 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.9226, allocations: 32.16 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.9227, allocations: 47.66 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.9227, allocations: 39.84 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.9227, allocations: 8 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.9228, allocations: 12 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.9229, allocations: 19.92 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.9229, allocations: 47.72 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.9231, allocations: 84.2 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9231, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9231, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9231, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9512 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.0006191/0.9237, allocations: 406.9 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.9237, allocations: 16.62 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.9238, allocations: 12.84 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.9239, allocations: 192.2 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.924, allocations: 4.375 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.924, allocations: 8.375 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.9242, allocations: 109.9 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9242, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.9242, allocations: 7.984 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9243, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.9245, allocations: 99.92 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.925, allocations: 384.5 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.9252, allocations: 62.42 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.9253, allocations: 48.95 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.9253, allocations: 7.984 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9254, allocations: 30.56 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.9254, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004591/0.9258, allocations: 165.6 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.9259, allocations: 51.41 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.926, allocations: 143.9 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.926, allocations: 25.7 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.926, allocations: 104.1 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.9261, allocations: 19.92 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.9261, allocations: 21.72 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9262, allocations: 318.8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.9263, allocations: 47.91 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.9264, allocations: 39.97 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.9266, allocations: 89.17 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9266, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002638/0.9269, allocations: 129.6 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.9269, allocations: 4 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9269, allocations: 3.984 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.9269, allocations: 0 / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.9271, allocations: 23.86 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9271, allocations: 4 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.9271, allocations: 7.984 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.9272, allocations: 8 kB / 1.226 GB, free: 12.84 MB / 0.9512 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.652e-05/0.9272, allocations: 118.4 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.9273, allocations: 7.953 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.9276, allocations: 138.3 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9276, allocations: 11.88 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.9276, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.9276, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.9278, allocations: 205.6 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9278, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.9279, allocations: 23.97 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.9279, allocations: 0 / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.9279, allocations: 4 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.9279, allocations: 3.938 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9279, allocations: 0 / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.9282, allocations: 219.4 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.9283, allocations: 93.19 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.9283, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.9284, allocations: 11.92 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.9284, allocations: 11.88 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.9284, allocations: 11.98 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.9285, allocations: 101.2 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.9285, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002315/0.9287, allocations: 16 kB / 1.226 GB, free: 11.77 MB / 0.9512 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.0001286/0.9289, allocations: 107.2 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.9291, allocations: 99.86 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9291, allocations: 0 / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.9293, allocations: 51.91 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.9295, allocations: 4 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.9299, allocations: 223.8 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.9302, allocations: 0.7041 MB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.765e-05/0.9303, allocations: 15.97 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.9303, allocations: 11.44 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.9303, allocations: 0 / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.003025/0.9333, allocations: 0.731 MB / 1.228 GB, free: 9.777 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches