Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001594/0.001601, allocations: 113 kB / 16.42 MB, free: 6.504 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.001695/0.001695, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.465/1.465, 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 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002876/1.012, allocations: 1.593 MB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000945/1.013, allocations: 0.4996 MB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/1.013, allocations: 7.938 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/1.013, allocations: 11.86 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/1.013, allocations: 7.875 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/1.013, allocations: 43.88 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/1.014, allocations: 87.7 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/1.014, allocations: 36.22 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/1.014, allocations: 39.84 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/1.014, allocations: 39.84 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/1.014, allocations: 4 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/1.014, allocations: 19.98 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/1.014, allocations: 19.92 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/1.014, allocations: 35.73 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/1.015, allocations: 92.14 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.015, allocations: 0 / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.689e-06/1.015, allocations: 3.984 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.353e-05/1.015, allocations: 0 / 1.17 GB, free: 1.27 MB / 0.8887 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.0006794/1.015, allocations: 403 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.015, allocations: 11.97 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/1.015, allocations: 20.84 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/1.016, allocations: 184.2 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.016, allocations: 12.31 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/1.016, allocations: 4.375 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/1.016, allocations: 117.8 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.016, allocations: 0 / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.016, allocations: 4 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.016, allocations: 4 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/1.016, allocations: 95.94 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/1.017, allocations: 384.6 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/1.017, allocations: 58.55 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/1.017, allocations: 52.95 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/1.017, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.017, allocations: 34.56 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/1.017, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0005353/1.018, allocations: 173.5 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.018, allocations: 51.41 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.018, allocations: 140.4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/1.018, allocations: 25.7 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/1.018, allocations: 104.1 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/1.018, allocations: 19.94 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/1.018, allocations: 21.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.019, allocations: 322.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/1.019, allocations: 35.97 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/1.019, allocations: 43.95 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/1.019, allocations: 84.81 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.019, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/1.019, allocations: 133.5 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.019, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.019, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.019, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/1.02, allocations: 15.98 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.02, allocations: 7.875 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/1.02, allocations: 11.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.02, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 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.0001163/1.02, allocations: 121.8 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/1.02, allocations: 11.94 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/1.02, allocations: 146.8 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.02, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.02, allocations: 3.938 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/1.02, allocations: 81.06 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.02, allocations: 8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/1.02, allocations: 11.98 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/1.02, allocations: 7.984 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003674/1.021, allocations: 212.8 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003502/1.021, allocations: 302.7 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001597/1.021, allocations: 43.97 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.39e-05/1.021, allocations: 101.8 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/1.021, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005014/1.022, allocations: 138.3 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005307/1.023, allocations: 0.6485 MB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.003694/1.026, allocations: 1.02 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches