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.00161/0.00161, allocations: 104.3 kB / 16.41 MB, free: 6.398 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.001285/0.001285, allocations: 195.7 kB / 17.35 MB, free: 5.695 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 / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9189/0.9203, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004199/0.9245, allocations: 1.596 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.9256, allocations: 0.4949 MB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.9257, allocations: 11.88 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.9259, allocations: 11.86 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.926, allocations: 11.86 kB / 1.211 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.9263, allocations: 39.89 kB / 1.211 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.9265, allocations: 91.69 kB / 1.211 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.9266, allocations: 36.22 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.9268, allocations: 39.86 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.9269, allocations: 39.83 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.9269, allocations: 4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.927, allocations: 19.98 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.9271, allocations: 19.92 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.9271, allocations: 35.73 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.9273, allocations: 89.47 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9274, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9274, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9274, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 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.0007153/0.9281, allocations: 403.1 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.9282, allocations: 8.031 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.9282, allocations: 20.69 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.9285, allocations: 189.9 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.9285, allocations: 8.375 kB / 1.212 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.9286, allocations: 4.375 kB / 1.212 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.9289, allocations: 117.9 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9289, allocations: 0 / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.929, allocations: 8 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.929, allocations: 0 / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.9292, allocations: 103.9 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.9301, allocations: 372.5 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.9303, allocations: 62.55 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.9304, allocations: 48.95 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.9305, allocations: 3.984 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.9306, allocations: 34.56 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.9306, allocations: 0 / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0005965/0.9312, allocations: 169.4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.9313, allocations: 55.41 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.9315, allocations: 136 kB / 1.213 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.9315, allocations: 25.7 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.9316, allocations: 108.1 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.9316, allocations: 15.75 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.9317, allocations: 21.7 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9319, allocations: 326.8 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.932, allocations: 39.91 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.9322, allocations: 39.97 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.9324, allocations: 88.8 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.9324, allocations: 384 / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002961/0.9327, allocations: 133.5 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.9327, allocations: 4 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9328, allocations: 0 / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9328, allocations: 4 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.933, allocations: 19.92 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.933, allocations: 3.984 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.9331, allocations: 15.84 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.9331, allocations: 4 kB / 1.213 GB, free: 8.492 MB / 0.9356 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 0.0001326/0.9332, allocations: 121.8 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.9333, allocations: 7.906 kB / 1.214 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.9337, allocations: 146.3 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9337, allocations: 3.938 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9337, allocations: 0 / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.9338, allocations: 0 / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.934, allocations: 201.6 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.934, allocations: 4 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9342, allocations: 19.98 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9342, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.9342, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.9342, allocations: 7.922 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9342, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.9346, allocations: 227.3 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.9347, allocations: 85 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.9347, allocations: 0 / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.9348, allocations: 12.12 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.9349, allocations: 11.98 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.9349, allocations: 4 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001026/0.935, allocations: 103.2 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.935, allocations: 0 / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002751/0.9353, allocations: 19.94 kB / 1.214 GB, free: 7.43 MB / 0.9356 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.0002275/0.9355, allocations: 99.25 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.9359, allocations: 103.9 kB / 1.215 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9359, allocations: 0 / 1.215 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.936, allocations: 51.95 kB / 1.215 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.9363, allocations: 9.828 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.9369, allocations: 248.7 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.9374, allocations: 0.7041 MB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.9374, allocations: 19.36 kB / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9374, allocations: 0 / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.004059/0.9415, allocations: 1.12 MB / 1.217 GB, free: 5.023 MB / 0.9356 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