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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001249/0.001249, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 462.6 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 12.33 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3065, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001824/0.3084, allocations: 1.319 MB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.3093, allocations: 0.5065 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.3094, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.3095, allocations: 7.938 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.3096, allocations: 11.88 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3098, allocations: 23.97 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3099, allocations: 83.69 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3101, allocations: 36.22 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.3102, allocations: 35.86 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.3103, allocations: 27.84 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3103, allocations: 4 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.3103, allocations: 11.98 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.3104, allocations: 19.92 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.3105, allocations: 57.45 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3106, allocations: 60.11 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3106, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3106, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.3106, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 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.0005557/0.3112, allocations: 391.2 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3112, allocations: 12.03 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3113, allocations: 12.75 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3115, allocations: 196.2 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3115, allocations: 8.375 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3115, allocations: 8.312 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3118, allocations: 120.5 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3118, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3118, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3118, allocations: 4 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.3121, allocations: 111.9 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.3127, allocations: 388.4 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3129, allocations: 66.48 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.313, allocations: 52.95 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.3131, allocations: 11.98 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3131, allocations: 38.5 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3131, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004986/0.3137, allocations: 181.5 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3137, allocations: 51.41 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3138, allocations: 136.4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3138, allocations: 25.7 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3139, allocations: 104 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3139, allocations: 19.88 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.314, allocations: 17.72 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3141, allocations: 318.8 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3142, allocations: 43.97 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3143, allocations: 47.97 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3146, allocations: 104.8 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3146, allocations: 0 / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003156/0.3149, allocations: 141.5 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3149, allocations: 7.938 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.315, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.315, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3151, allocations: 23.92 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3151, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.3152, allocations: 19.89 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3153, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 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.0001039/0.3154, allocations: 125.8 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3154, allocations: 7.906 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.3158, allocations: 158.8 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3158, allocations: 3.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3158, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3158, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.316, allocations: 209.5 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.316, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3161, allocations: 23.98 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3161, allocations: 4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3162, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3162, allocations: 7.875 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3162, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.3165, allocations: 235.4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3166, allocations: 85.02 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3166, allocations: 3.984 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3167, allocations: 15.94 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3168, allocations: 11.92 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3168, allocations: 7.984 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.3169, allocations: 108.5 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3169, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002366/0.3171, allocations: 12 kB / 1.065 GB, free: 14.75 MB / 0.8262 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.0001417/0.3173, allocations: 99.25 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.3176, allocations: 115.9 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3176, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.3177, allocations: 51.97 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3179, allocations: 11.98 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.3184, allocations: 282.6 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3187, allocations: 0.7043 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.3187, allocations: 19.42 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3187, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.002613/0.3213, allocations: 1.094 MB / 1.067 GB, free: 12.32 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches