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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001376, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002922/1.054, allocations: 1.609 MB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008967/1.055, allocations: 0.5025 MB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/1.055, allocations: 0.8438 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/1.055, allocations: 17.17 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/1.055, allocations: 10.73 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/1.055, allocations: 38.09 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/1.056, allocations: 85.12 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/1.056, allocations: 33.72 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/1.056, allocations: 48.73 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/1.056, allocations: 40.05 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/1.056, allocations: 6.594 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/1.056, allocations: 11.67 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/1.056, allocations: 21.02 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/1.056, allocations: 40.86 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/1.056, allocations: 93.94 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.056, allocations: 0.8438 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.056, allocations: 0 / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.056, allocations: 0 / 1.265 GB, free: 6.316 MB / 0.9981 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.0005305/1.057, allocations: 404.3 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.057, allocations: 9.406 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/1.057, allocations: 14 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.057, allocations: 197 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.057, allocations: 7.438 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/1.057, allocations: 4.562 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/1.058, allocations: 117.1 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.058, allocations: 4 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.058, allocations: 4.859 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/1.058, allocations: 5.5 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/1.058, allocations: 96.59 kB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/1.058, allocations: 376.5 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/1.059, allocations: 67.64 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.059, allocations: 46.36 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/1.059, allocations: 7.656 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/1.059, allocations: 31.88 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.059, allocations: 0.75 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.000506/1.059, allocations: 165.4 kB / 1.267 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/1.059, allocations: 52.97 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.059, allocations: 138 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/1.059, allocations: 25.7 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/1.06, allocations: 105.2 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/1.06, allocations: 28.09 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/1.06, allocations: 25.92 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/1.06, allocations: 322.9 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/1.06, allocations: 38.64 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.06, allocations: 38.28 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/1.06, allocations: 88.62 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.06, allocations: 4 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002915/1.06, allocations: 124.2 kB / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.061, allocations: 5.562 kB / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.061, allocations: 0 / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.061, allocations: 1.766 kB / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/1.061, allocations: 25.56 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/1.061, allocations: 0 / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/1.061, allocations: 16.61 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/1.061, allocations: 3.328 kB / 1.268 GB, free: 4.336 MB / 0.9981 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.977e-05/1.061, allocations: 125.2 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/1.061, allocations: 7.984 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/1.061, allocations: 137.5 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.061, allocations: 4.875 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.061, allocations: 0.8438 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.061, allocations: 4.609 kB / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/1.062, allocations: 211.9 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.062, allocations: 0 / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.062, allocations: 22.06 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.062, allocations: 0.7812 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.062, allocations: 2 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.062, allocations: 4.719 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.062, allocations: 0.5625 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/1.062, allocations: 224.3 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/1.062, allocations: 87.44 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.062, allocations: 2.266 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/1.062, allocations: 10.89 kB / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/1.062, allocations: 5.578 kB / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.062, allocations: 7.656 kB / 1.268 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.694e-05/1.062, allocations: 105.6 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 4 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002401/1.063, allocations: 16.75 kB / 1.268 GB, free: 3.555 MB / 0.9981 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.0001377/1.063, allocations: 103.2 kB / 1.269 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003273/1.063, allocations: 94.02 kB / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/1.063, allocations: 0 / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.063, allocations: 61.08 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.064, allocations: 6.359 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/1.064, allocations: 239.2 kB / 1.269 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/1.064, allocations: 0.7024 MB / 1.27 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/1.064, allocations: 18.28 kB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.064, allocations: 0 / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of Templates: time 0.003587/1.068, allocations: 1.115 MB / 1.271 GB, free: 2.445 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.22402615007013]