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.001579/0.001579, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.00166/0.001661, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.374/1.374, 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.373/2.373, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8249, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002722/0.8276, allocations: 1.611 MB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.8285, allocations: 0.4996 MB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.8286, allocations: 4 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.8287, allocations: 11.86 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.8288, allocations: 7.875 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.829, allocations: 39.89 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.8292, allocations: 87.69 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.8293, allocations: 36.22 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.8294, allocations: 35.92 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.8295, allocations: 47.75 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.8295, allocations: 8 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.286e-05/0.8296, allocations: 15.94 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.8297, allocations: 15.98 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.8297, allocations: 43.73 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.8299, allocations: 91.48 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8299, allocations: 0 / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8299, allocations: 3.938 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8299, allocations: 0 / 1.17 GB, free: 1.305 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.0005839/0.8305, allocations: 401 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8305, allocations: 12.03 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.8306, allocations: 12.75 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.8308, allocations: 188.2 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.8308, allocations: 8.375 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.8308, allocations: 4.375 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.8311, allocations: 113.9 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.8311, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.8311, allocations: 4 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8311, allocations: 4 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.8313, allocations: 103.9 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.8319, allocations: 368.5 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.8321, allocations: 74.48 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.8322, allocations: 48.95 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.8323, allocations: 7.984 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.8323, allocations: 34.55 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.8323, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004337/0.8327, allocations: 161.5 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.8328, allocations: 55.41 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8329, allocations: 136.1 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8329, allocations: 25.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.833, allocations: 112 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.833, allocations: 15.75 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.8331, allocations: 21.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8332, allocations: 326.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8333, allocations: 39.97 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.8334, allocations: 39.97 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.8336, allocations: 88.8 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8336, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002541/0.8339, allocations: 125.5 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8339, allocations: 8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.8339, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8339, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8341, allocations: 27.84 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8341, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.8342, allocations: 7.906 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.8342, allocations: 8 kB / 1.172 GB, free: 14.55 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 8.198e-05/0.8343, allocations: 125.8 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.8343, allocations: 7.906 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.8347, allocations: 134.8 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.8347, allocations: 7.984 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8347, allocations: 4 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8347, allocations: 3.984 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.8349, allocations: 205.6 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8349, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.8351, allocations: 23.92 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8351, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.8351, allocations: 3.984 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8351, allocations: 7.875 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8351, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.8354, allocations: 215.4 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.8355, allocations: 89 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.8355, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.8356, allocations: 7.938 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.8356, allocations: 11.98 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.8357, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.8357, allocations: 109.5 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8357, allocations: 3.938 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002392/0.836, allocations: 19.94 kB / 1.173 GB, free: 13.49 MB / 0.9044 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.0001523/0.8361, allocations: 104.8 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.8364, allocations: 95.94 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8364, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.8365, allocations: 55.89 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.8368, allocations: 8 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.8373, allocations: 240.7 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.8377, allocations: 0.7002 MB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.8378, allocations: 19.42 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8378, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.002887/0.8407, allocations: 1.12 MB / 1.175 GB, free: 11.09 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