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.001394/0.001394, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.001346/0.001346, allocations: 191.8 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.303/1.303, 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.359/2.359, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.7001, 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.002532/0.7027, allocations: 1.607 MB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.7035, allocations: 0.5035 MB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.7036, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.7037, allocations: 7.875 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.7038, allocations: 15.81 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.704, allocations: 39.94 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7041, allocations: 83.7 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.7043, allocations: 40.22 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.7043, allocations: 43.77 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.7044, allocations: 35.84 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.7045, allocations: 12 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.7045, allocations: 12 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.7046, allocations: 27.91 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.7046, allocations: 39.73 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.7048, allocations: 84.2 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7048, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7048, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7048, allocations: 0 / 1.17 GB, free: 1.312 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.0005252/0.7053, allocations: 407 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.7054, allocations: 15.97 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.7054, allocations: 16.78 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.7056, allocations: 192.2 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.7056, allocations: 4.375 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.7056, allocations: 8.375 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.7059, allocations: 105.9 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7059, allocations: 0 / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.7059, allocations: 4 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7059, allocations: 4 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.7062, allocations: 99.86 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.7067, allocations: 380.6 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.7069, allocations: 58.48 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.707, allocations: 56.95 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.7071, allocations: 3.984 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.7071, allocations: 30.56 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.7071, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004531/0.7076, allocations: 169.4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.7076, allocations: 51.41 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.7077, allocations: 137.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.7078, allocations: 25.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.7078, allocations: 104.1 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.7079, allocations: 27.92 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.7079, allocations: 13.72 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.708, allocations: 322.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.7082, allocations: 39.97 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.7083, allocations: 39.97 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.7085, allocations: 88.8 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7085, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002689/0.7088, allocations: 129.9 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.7088, allocations: 4 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7088, allocations: 64 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7088, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.7089, allocations: 31.91 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.709, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.709, allocations: 7.938 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.7091, allocations: 7.984 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 9.371e-05/0.7092, allocations: 117.8 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.7092, allocations: 7.953 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.7095, allocations: 146.3 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.7095, allocations: 7.922 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.7095, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.7096, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.7098, allocations: 201.6 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7098, allocations: 3.984 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.7099, allocations: 19.98 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7099, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.7099, allocations: 3.984 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7099, allocations: 3.938 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7099, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.7102, allocations: 223.4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.7103, allocations: 93 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7103, allocations: 0 / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.7104, allocations: 15.92 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.7105, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.7105, allocations: 8.109 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.7106, allocations: 101.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7106, allocations: 0 / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002253/0.7108, allocations: 19.95 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.000132/0.7109, allocations: 103.2 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.7112, allocations: 107.9 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7113, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.7114, allocations: 51.91 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.7116, allocations: 4 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.0004169/0.712, allocations: 226.8 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.7123, allocations: 0.7002 MB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.406e-05/0.7124, allocations: 15.97 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.7124, allocations: 11.44 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of SimCode: time 3.106e-06/0.7125, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.002992/0.7155, allocations: 0.7352 MB / 1.175 GB, free: 11.49 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 -s cvode -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