Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001281/0.001281, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001588, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9454, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001679/0.9471, allocations: 0.6364 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.9475, allocations: 110.9 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.9476, allocations: 1.156 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.9477, allocations: 5.578 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.9481, allocations: 25.89 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.924e-05/0.9481, allocations: 8.484 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.9482, allocations: 27.2 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.9483, allocations: 28.25 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.9485, allocations: 50.78 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.9485, allocations: 15.58 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.9486, allocations: 2.5 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.9486, allocations: 1.344 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.9486, allocations: 17.11 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.9487, allocations: 24.8 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.9488, allocations: 43.53 kB / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9488, allocations: 5.703 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9488, allocations: 0 / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9488, allocations: 0 / 1.09 GB, free: 4.938 MB / 0.8575 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.0002652/0.9491, allocations: 352.2 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.9491, allocations: 9 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.9491, allocations: 4.344 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.9493, allocations: 192.4 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9493, allocations: 5.641 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.9493, allocations: 2.812 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.9495, allocations: 87.45 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9495, allocations: 192 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.9495, allocations: 4.844 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9495, allocations: 0.9062 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.9496, allocations: 30.53 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.9499, allocations: 0.6107 MB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.95, allocations: 166.2 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.95, allocations: 80.75 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.95, allocations: 75.28 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.9501, allocations: 119.5 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.9501, allocations: 1.062 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.019e-05/0.9502, allocations: 29.33 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.9502, allocations: 127.4 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9503, allocations: 162.4 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.9503, allocations: 25.7 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.9504, allocations: 93.89 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.9504, allocations: 0 / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.9504, allocations: 15.78 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.9505, allocations: 323.6 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.9505, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.9505, allocations: 4.141 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.274e-05/0.9505, allocations: 75.84 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.9505, allocations: 75.28 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.272e-05/0.9506, allocations: 40.39 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.9506, allocations: 80.31 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.9506, allocations: 80.98 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.9507, allocations: 159.3 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.117e-05/0.9507, allocations: 76.98 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.9507, allocations: 152.3 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.9508, allocations: 90 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.9509, allocations: 75.89 kB / 1.093 GB, free: 17.56 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0001091/0.951, allocations: 274.8 kB / 1.093 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.9511, allocations: 108.2 kB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.9511, allocations: 115 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-05/0.9512, allocations: 177.9 kB / 1.094 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/0.9513, allocations: 181.9 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.502e-05/0.9513, allocations: 197.7 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.9515, allocations: 420 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.9516, allocations: 106.8 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.9516, allocations: 106.7 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.404e-05/0.9517, allocations: 178.1 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.9517, allocations: 182.7 kB / 1.095 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.632e-05/0.9518, allocations: 181.6 kB / 1.095 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-05/0.9518, allocations: 186.2 kB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.952, allocations: 310.8 kB / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.952, allocations: 190.5 kB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.9521, allocations: 187.6 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.9522, allocations: 101.8 kB / 1.096 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.9523, allocations: 181.8 kB / 1.096 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.9523, allocations: 106.5 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.9524, allocations: 123.9 kB / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9524, allocations: 0 / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002495/0.9526, allocations: 7.312 kB / 1.096 GB, free: 13.89 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0001251/0.9528, allocations: 173.2 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.738e-05/0.9528, allocations: 2.984 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9528, allocations: 0 / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.9528, allocations: 3.938 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.9532, allocations: 467 kB / 1.097 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.9535, allocations: 232.8 kB / 1.097 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.9537, allocations: 0.688 MB / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.9537, allocations: 9.781 kB / 1.098 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9538, allocations: 0 / 1.098 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.002362/0.9561, allocations: 0.7113 MB / 1.099 GB, free: 12.3 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches