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.0008834/0.0008833, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001063/0.001064, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.909/2.909, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 9.719 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3886, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001968/0.3906, allocations: 1.288 MB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009044/0.3916, allocations: 0.4912 MB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3917, allocations: 0 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.3918, allocations: 7.875 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.3918, allocations: 15.86 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3921, allocations: 23.97 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3922, allocations: 75.7 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3924, allocations: 36.2 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.3925, allocations: 27.86 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3926, allocations: 35.83 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3927, allocations: 4 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.3927, allocations: 4 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.3928, allocations: 11.98 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3928, allocations: 37.64 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.393, allocations: 60.17 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.393, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.03e-06/0.393, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.393, allocations: 3.938 kB / 1.06 GB, free: 3.188 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.0005406/0.3935, allocations: 395.1 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3936, allocations: 8.031 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3936, allocations: 11.81 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3938, allocations: 194.8 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3938, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3939, allocations: 11.95 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3942, allocations: 113.6 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3942, allocations: 0 / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3942, allocations: 4 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3942, allocations: 4 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3944, allocations: 111.9 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.3951, allocations: 380.6 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3952, allocations: 78.48 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3954, allocations: 52.95 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.3954, allocations: 0 / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3954, allocations: 46.55 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3955, allocations: 0 / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004816/0.3959, allocations: 177.5 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.396, allocations: 55.34 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3961, allocations: 135.7 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3962, allocations: 29.7 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3962, allocations: 100.2 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3963, allocations: 27.73 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.3963, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3964, allocations: 322.8 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3965, allocations: 43.97 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.3966, allocations: 47.91 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.3968, allocations: 51.97 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3968, allocations: 0 / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002693/0.3971, allocations: 137.9 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3971, allocations: 8 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3971, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3971, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3973, allocations: 31.98 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3973, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.3974, allocations: 15.94 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.3974, allocations: 4 kB / 1.063 GB, free: 436 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.3975, allocations: 117.8 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.3976, allocations: 11.89 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.3979, allocations: 154.3 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3979, allocations: 0 / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3979, allocations: 4 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3979, allocations: 3.984 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3982, allocations: 201.6 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3982, allocations: 3.938 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3983, allocations: 23.97 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3983, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3983, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3983, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3983, allocations: 4 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.3987, allocations: 239.3 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3988, allocations: 88.95 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3988, allocations: 0 / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3989, allocations: 15.98 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.399, allocations: 7.984 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.399, allocations: 4 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.819e-05/0.399, allocations: 105.5 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.214e-06/0.3991, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002489/0.3993, allocations: 19.84 kB / 1.064 GB, free: 15.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.3995, allocations: 111.2 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.3998, allocations: 112.1 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3998, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3999, allocations: 59.91 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4001, allocations: 11.95 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4006, allocations: 241.1 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4009, allocations: 0.6965 MB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.401, allocations: 11.98 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.4011, allocations: 19.36 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4011, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.003102/0.4042, allocations: 0.5999 MB / 1.065 GB, free: 13.43 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/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