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.008078/0.008078, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001775/0.001775, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9122/0.9135, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002923/0.9164, allocations: 1.593 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009936/0.9175, allocations: 0.5073 MB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.9176, allocations: 3.938 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.9177, allocations: 15.86 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.9178, allocations: 11.88 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.918, allocations: 39.88 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.9182, allocations: 83.77 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.9184, allocations: 40.2 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.9185, allocations: 35.86 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.9186, allocations: 35.84 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.9186, allocations: 4 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.9187, allocations: 19.98 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.9187, allocations: 23.91 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.9188, allocations: 43.73 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.919, allocations: 92.14 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.919, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.919, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.919, allocations: 0 / 1.169 GB, free: 1.285 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.0005781/0.9196, allocations: 402.9 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.9197, allocations: 16.02 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.9197, allocations: 12.84 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.9199, allocations: 192.3 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.9199, allocations: 384 / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.9199, allocations: 8.375 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.9202, allocations: 117.8 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9202, allocations: 0 / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.9203, allocations: 0 / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.9203, allocations: 0 / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.9205, allocations: 99.92 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.9211, allocations: 388.5 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.9213, allocations: 54.55 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.9214, allocations: 52.95 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.9215, allocations: 8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.9215, allocations: 30.56 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.9215, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004998/0.922, allocations: 169.5 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.9221, allocations: 51.41 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.9222, allocations: 140.1 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.9222, allocations: 25.7 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.9223, allocations: 108.1 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.9223, allocations: 19.94 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.9224, allocations: 17.7 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9225, allocations: 326.8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.9226, allocations: 39.97 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.9227, allocations: 39.97 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.9229, allocations: 88.75 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9229, allocations: 3.938 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/0.9232, allocations: 125.6 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9232, allocations: 8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9232, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.9233, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.9234, allocations: 23.92 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9234, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.9235, allocations: 11.98 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.9235, allocations: 0 / 1.172 GB, free: 14.53 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.509e-05/0.9236, allocations: 121.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.9237, allocations: 7.953 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.924, allocations: 146.7 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.924, allocations: 3.938 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.924, allocations: 4.062 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.924, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.9243, allocations: 205.6 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.9243, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.9244, allocations: 15.98 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9244, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.9244, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9244, allocations: 11.94 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9244, allocations: 3.984 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.9247, allocations: 219.4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.9248, allocations: 92.98 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.9248, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.9249, allocations: 11.94 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.925, allocations: 11.98 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.925, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.9251, allocations: 109.3 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9251, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002601/0.9254, allocations: 15.95 kB / 1.172 GB, free: 13.47 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.0001693/0.9255, allocations: 103.2 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.9258, allocations: 103.9 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9259, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.926, allocations: 55.89 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.9262, allocations: 8 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.9267, allocations: 218.8 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.9269, allocations: 0.7079 MB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.9271, allocations: 11.98 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.9271, allocations: 19.42 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9271, allocations: 0 / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.003192/0.9303, allocations: 0.7195 MB / 1.174 GB, free: 11.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches