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.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001743, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.557/1.557, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.66 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3987, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003517/0.4023, allocations: 1.652 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4033, allocations: 0.5104 MB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.4034, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.4036, allocations: 7.922 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.4037, allocations: 15.86 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.4039, allocations: 31.97 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.404, allocations: 79.7 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.4042, allocations: 36.22 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4043, allocations: 39.84 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.4044, allocations: 47.77 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4044, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.4045, allocations: 8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.4045, allocations: 19.92 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.4046, allocations: 35.8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4048, allocations: 83.92 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4048, allocations: 0 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4048, allocations: 0 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.4048, allocations: 0 / 1.07 GB, free: 8.309 MB / 0.8262 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.0005674/0.4054, allocations: 407.1 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4054, allocations: 8.031 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.4055, allocations: 12.75 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.4057, allocations: 197.8 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4057, allocations: 12.31 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4057, allocations: 4.375 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.406, allocations: 102 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.406, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.406, allocations: 4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.406, allocations: 8 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.4063, allocations: 91.92 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.407, allocations: 388.4 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4072, allocations: 58.55 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4073, allocations: 48.95 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.4074, allocations: 7.984 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4074, allocations: 38.5 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4074, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0005059/0.4079, allocations: 161.5 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.408, allocations: 51.41 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4081, allocations: 139.3 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4081, allocations: 25.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.4082, allocations: 104 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.4082, allocations: 31.81 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.4083, allocations: 17.72 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4084, allocations: 322.8 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4085, allocations: 39.91 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4087, allocations: 39.97 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.4089, allocations: 96.73 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4089, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002778/0.4092, allocations: 122 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4092, allocations: 4 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4093, allocations: 4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4093, allocations: 4 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4094, allocations: 23.91 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4095, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.4095, allocations: 11.91 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.4096, allocations: 7.984 kB / 1.073 GB, free: 5.543 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.0001008/0.4097, allocations: 121.8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4097, allocations: 7.906 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.4101, allocations: 142.3 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4101, allocations: 3.938 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4101, allocations: 4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.4101, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.4103, allocations: 205.6 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4103, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4105, allocations: 19.98 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4105, allocations: 3.984 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4105, allocations: 3.938 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4105, allocations: 7.922 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4105, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.4108, allocations: 223.4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.4109, allocations: 85.02 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4109, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.411, allocations: 15.92 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.4111, allocations: 128 / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4111, allocations: 11.98 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.4112, allocations: 104.7 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4112, allocations: 4 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002572/0.4115, allocations: 16 kB / 1.073 GB, free: 4.48 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.0001947/0.4117, allocations: 103.2 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.412, allocations: 99.86 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.412, allocations: 4 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4121, allocations: 55.97 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4124, allocations: 7.875 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.4129, allocations: 248.8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4132, allocations: 0.7028 MB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.4133, allocations: 11.98 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.4134, allocations: 11.44 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.4134, allocations: 0 / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.003252/0.4166, allocations: 0.6286 MB / 1.075 GB, free: 2.562 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