Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001372/0.001372, allocations: 105 kB / 15.98 MB, free: 6.355 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.001363/0.001363, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001909, allocations: 65.67 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002984/0.3298, allocations: 1.656 MB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.3307, allocations: 0.5027 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3308, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.642e-05/0.3309, allocations: 3.938 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.331, allocations: 11.86 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3312, allocations: 31.97 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3313, allocations: 83.7 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3314, allocations: 40.22 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.3315, allocations: 39.91 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.3316, allocations: 35.84 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3317, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.154e-05/0.3317, allocations: 27.92 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.3318, allocations: 15.98 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3318, allocations: 43.73 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.332, allocations: 64.05 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.332, allocations: 3.938 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.332, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.332, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8419 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.000607/0.3326, allocations: 399.1 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3326, allocations: 12.62 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3327, allocations: 16.75 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3329, allocations: 186.2 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3329, allocations: 8.375 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.333, allocations: 4.375 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.3333, allocations: 109.9 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3333, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3333, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3333, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.3336, allocations: 103.9 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.3342, allocations: 368.5 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3344, allocations: 66.55 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3346, allocations: 48.95 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.3346, allocations: 3.984 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3347, allocations: 38.55 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.3347, allocations: 3.984 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004752/0.3351, allocations: 165.5 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3352, allocations: 55.41 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3353, allocations: 137.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3354, allocations: 25.7 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.3354, allocations: 104 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3355, allocations: 15.89 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3355, allocations: 21.7 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3357, allocations: 326.8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3358, allocations: 35.97 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3359, allocations: 40.22 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3361, allocations: 96.86 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3362, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003069/0.3365, allocations: 129.5 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3365, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3365, allocations: 3.984 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3365, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3367, allocations: 23.91 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.3368, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3368, allocations: 12 kB / 1.069 GB, free: 9.797 MB / 0.8419 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 0.0001045/0.3369, allocations: 117.8 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.337, allocations: 11.84 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3373, allocations: 146.2 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3373, allocations: 3.938 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3374, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3374, allocations: 7.984 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.3376, allocations: 205.6 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3376, allocations: 0 / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3377, allocations: 19.98 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3377, allocations: 0 / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3378, allocations: 3.984 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3378, allocations: 4.062 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3378, allocations: 4 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.3381, allocations: 227.3 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.3382, allocations: 85 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3382, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3383, allocations: 7.938 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.3384, allocations: 7.984 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3384, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.955e-05/0.3385, allocations: 105.8 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3385, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002476/0.3388, allocations: 16 kB / 1.07 GB, free: 8.734 MB / 0.8419 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.0001545/0.3389, allocations: 95.25 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.3392, allocations: 107.9 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3393, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3394, allocations: 55.89 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3396, allocations: 12 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.3401, allocations: 264.8 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.3406, allocations: 0.7117 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3406, allocations: 15.42 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3406, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.002878/0.3435, allocations: 1.108 MB / 1.072 GB, free: 6.312 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches