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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_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.005572/0.005572, allocations: 99.27 kB / 15.73 MB, free: 6.035 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.001082/0.001082, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 159.9 MB / 1.226 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002902/0.336, allocations: 1.603 MB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.337, allocations: 0.5103 MB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.3371, allocations: 3.938 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3372, allocations: 7.922 kB / 1.228 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.3373, allocations: 19.81 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3375, allocations: 43.81 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3377, allocations: 79.72 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3378, allocations: 40.2 kB / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.338, allocations: 35.91 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.338, allocations: 35.84 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3381, allocations: 8 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.3381, allocations: 15.98 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.3382, allocations: 19.92 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3382, allocations: 43.75 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3384, allocations: 95.5 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3385, allocations: 0 / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3385, allocations: 0 / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.3385, allocations: 0 / 1.228 GB, free: 6.59 MB / 0.9825 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.000555/0.339, allocations: 407 kB / 1.229 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3391, allocations: 8.031 kB / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3391, allocations: 12.84 kB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3393, allocations: 197.6 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3393, allocations: 8.375 kB / 1.229 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3393, allocations: 8.375 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3396, allocations: 117.9 kB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3396, allocations: 0 / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3396, allocations: 0 / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3397, allocations: 0 / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.3399, allocations: 95.94 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.3405, allocations: 388.5 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3406, allocations: 54.55 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3407, allocations: 52.95 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.3408, allocations: 11.98 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3408, allocations: 30.56 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3408, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004514/0.3413, allocations: 169.5 kB / 1.23 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3413, allocations: 51.41 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.3414, allocations: 135.2 kB / 1.23 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3414, allocations: 33.7 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.3415, allocations: 104.1 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3415, allocations: 15.94 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3416, allocations: 29.64 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.3417, allocations: 314.8 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3418, allocations: 39.97 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3419, allocations: 43.97 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.3421, allocations: 84.8 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3421, allocations: 7.938 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002661/0.3424, allocations: 129.5 kB / 1.231 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3424, allocations: 4 kB / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3424, allocations: 0 / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3424, allocations: 4 kB / 1.231 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3426, allocations: 19.92 kB / 1.231 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3426, allocations: 0 / 1.231 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.3427, allocations: 16.42 kB / 1.231 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3427, allocations: 0 / 1.231 GB, free: 3.828 MB / 0.9825 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 7.669e-05/0.3428, allocations: 122.4 kB / 1.231 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3428, allocations: 7.953 kB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.3432, allocations: 150.3 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3432, allocations: 7.938 kB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3432, allocations: 0 / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3432, allocations: 0 / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3434, allocations: 205.6 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3434, allocations: 0 / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3435, allocations: 15.98 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3435, allocations: 0 / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3436, allocations: 4 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3436, allocations: 7.938 kB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3436, allocations: 0 / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.3439, allocations: 223.4 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.3439, allocations: 89 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3439, allocations: 0 / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.344, allocations: 11.92 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.3441, allocations: 15.98 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3441, allocations: 4 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.3442, allocations: 96.83 kB / 1.232 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 0 / 1.232 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002412/0.3444, allocations: 16 kB / 1.232 GB, free: 2.766 MB / 0.9825 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.00013/0.3446, allocations: 111.2 kB / 1.232 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3449, allocations: 103.9 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3449, allocations: 0 / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.345, allocations: 47.97 kB / 1.232 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3452, allocations: 8 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.3456, allocations: 222.9 kB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3459, allocations: 0.7079 MB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.346, allocations: 16.36 kB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.346, allocations: 19.42 kB / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.346, allocations: 0 / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.002879/0.3489, allocations: 0.7075 MB / 1.233 GB, free: 0.7773 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches