Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.915/1.915, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 91.91 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.051e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3142, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9784/1.293, allocations: 149.4 MB / 1.365 GB, free: 4.562 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/1.293, allocations: 70.33 kB / 1.365 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002581/1.296, allocations: 0.9917 MB / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.283e-06/1.296, allocations: 1.406 kB / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.296, allocations: 0 / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002232/1.296, allocations: 339.9 kB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/1.296, allocations: 8.031 kB / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/1.296, allocations: 7.906 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.296, allocations: 186.2 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.296, allocations: 4 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/1.296, allocations: 11.5 kB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/1.296, allocations: 86.42 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/1.296, allocations: 0 / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/1.296, allocations: 0 / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.296, allocations: 4 kB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/1.296, allocations: 25.8 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/1.297, allocations: 0.6024 MB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/1.297, allocations: 165.1 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/1.297, allocations: 83.7 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/1.297, allocations: 75.28 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.297, allocations: 113.8 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.297, allocations: 4 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.64e-05/1.297, allocations: 33.55 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.297, allocations: 130.7 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.297, allocations: 146 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.297, allocations: 25.7 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/1.297, allocations: 94.39 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/1.297, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/1.297, allocations: 4 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/1.297, allocations: 318.8 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/1.297, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/1.297, allocations: 3.75 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/1.297, allocations: 83.22 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/1.297, allocations: 75.28 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.83e-05/1.298, allocations: 37.55 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.298, allocations: 79.28 kB / 1.368 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.298, allocations: 83.27 kB / 1.368 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/1.298, allocations: 154.6 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.41e-05/1.298, allocations: 83.2 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.272e-05/1.298, allocations: 150.6 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/1.298, allocations: 87.16 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.298, allocations: 75.28 kB / 1.369 GB, free: 160 kB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.949e-05/1.298, allocations: 255.5 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/1.298, allocations: 117.7 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/1.298, allocations: 119.6 kB / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/1.298, allocations: 180.2 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-05/1.298, allocations: 184.1 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-05/1.298, allocations: 184.3 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.298, allocations: 419.5 kB / 1.37 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/1.299, allocations: 101 kB / 1.37 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/1.299, allocations: 108 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.258e-05/1.299, allocations: 188.2 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/1.299, allocations: 176.3 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-05/1.299, allocations: 185.2 kB / 1.371 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.176e-05/1.299, allocations: 180.2 kB / 1.371 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.299, allocations: 314.6 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/1.299, allocations: 181.2 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/1.299, allocations: 188.2 kB / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/1.299, allocations: 105 kB / 1.372 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/1.299, allocations: 188.6 kB / 1.372 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/1.299, allocations: 112 kB / 1.372 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.998e-05/1.299, allocations: 118.2 kB / 1.372 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.299, allocations: 0 / 1.372 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002722/1.3, allocations: 4 kB / 1.372 GB, free: 12.44 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001423/1.3, allocations: 175.8 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.929e-05/1.3, allocations: 2.938 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.3, allocations: 0 / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/1.3, allocations: 4 kB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/1.3, allocations: 0.5257 MB / 1.373 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/1.301, allocations: 162 kB / 1.373 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.301, allocations: 0.6935 MB / 1.374 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.055e-05/1.301, allocations: 7.938 kB / 1.374 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/1.301, allocations: 7.438 kB / 1.374 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.301, allocations: 3.938 kB / 1.374 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.002076/1.303, allocations: 409 kB / 1.374 GB, free: 10.43 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches