Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001438/0.001439, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001639/0.001639, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.467/1.467, 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 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.954, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002715/0.9568, allocations: 1.59 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.9576, allocations: 0.5155 MB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.9577, allocations: 1.125 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.9578, allocations: 14.22 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.9579, allocations: 11.39 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.9581, allocations: 37.47 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.9583, allocations: 85.84 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.9584, allocations: 37.42 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.9585, allocations: 37.23 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.9586, allocations: 44 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.9587, allocations: 6.094 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.9587, allocations: 14.67 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.9588, allocations: 22.38 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.9589, allocations: 35.7 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.959, allocations: 99.92 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9591, allocations: 1.094 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9591, allocations: 3.938 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9591, allocations: 0 / 1.091 GB, free: 3.832 MB / 0.8575 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.0004984/0.9596, allocations: 399.1 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9596, allocations: 8.281 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.9597, allocations: 13.97 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.9598, allocations: 192.8 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.9599, allocations: 7.938 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.9599, allocations: 4.062 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.9602, allocations: 110.7 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9602, allocations: 0 / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9602, allocations: 5.438 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9602, allocations: 1.188 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.9605, allocations: 96.47 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.9611, allocations: 380.5 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.9612, allocations: 59.48 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.9613, allocations: 50.05 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.9614, allocations: 12.14 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.9614, allocations: 31.59 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.9614, allocations: 0 / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004834/0.9619, allocations: 170 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.9619, allocations: 52.67 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.962, allocations: 141.6 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.9621, allocations: 26.58 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.9621, allocations: 107.3 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.9621, allocations: 21 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.9622, allocations: 24.84 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.9622, allocations: 320.1 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.9624, allocations: 42.67 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.9625, allocations: 42.38 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.9627, allocations: 87.84 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9627, allocations: 4.938 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002691/0.963, allocations: 122.7 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.963, allocations: 6.797 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.963, allocations: 0 / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.963, allocations: 1.094 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.9632, allocations: 16.89 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.9632, allocations: 9.391 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.9633, allocations: 11.72 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.9633, allocations: 3.281 kB / 1.094 GB, free: 1.867 MB / 0.8575 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 6.746e-05/0.9634, allocations: 121.6 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.9634, allocations: 8.891 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.9638, allocations: 136.8 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9638, allocations: 4.719 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9638, allocations: 4.734 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.9638, allocations: 87.45 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.9639, allocations: 1.484 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.964, allocations: 11.5 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.964, allocations: 5.188 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003524/0.9644, allocations: 206.8 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003138/0.9647, allocations: 311.4 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001259/0.9648, allocations: 47.2 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.9649, allocations: 110 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.9649, allocations: 0 / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.9654, allocations: 136.7 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004293/0.9658, allocations: 0.6244 MB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of Templates: time 0.003941/0.9698, allocations: 1.025 MB / 1.096 GB, free: 300 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches