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.001126/0.001126, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.001121/0.001121, allocations: 187 kB / 17.34 MB, free: 5.719 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.14 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.265/2.265, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9483/0.9497, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001781/0.9515, allocations: 0.6275 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.9519, allocations: 107.8 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.9519, allocations: 0.9688 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.952, allocations: 6.625 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.9524, allocations: 24.92 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.988e-05/0.9525, allocations: 8.281 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.9526, allocations: 32.97 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.9527, allocations: 23.09 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.9528, allocations: 50.48 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.9529, allocations: 15.45 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.9529, allocations: 2.281 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.9529, allocations: 6.094 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.953, allocations: 21.5 kB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.953, allocations: 16.94 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.5e-05/0.9531, allocations: 46.98 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9531, allocations: 0.9062 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9531, allocations: 0 / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9531, allocations: 1.062 kB / 1.09 GB, free: 4.953 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.0002842/0.9534, allocations: 351.5 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.9535, allocations: 13.58 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.9535, allocations: 8.031 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.9536, allocations: 188.3 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9537, allocations: 6.188 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.9537, allocations: 6.531 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.9538, allocations: 86.55 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.9538, allocations: 192 / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.9538, allocations: 5.031 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.9539, allocations: 4.891 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.9539, allocations: 26.11 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.9543, allocations: 0.6113 MB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.9543, allocations: 167.2 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.9543, allocations: 84.14 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.9544, allocations: 75.28 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.9544, allocations: 107.7 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.9544, allocations: 0 / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.9545, allocations: 37.91 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.9545, allocations: 128.6 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.9546, allocations: 161.3 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.9547, allocations: 29.7 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.9547, allocations: 94.12 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.9547, allocations: 0 / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.9547, allocations: 12.58 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.9548, allocations: 322.7 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.9548, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.9548, allocations: 3.562 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.305e-05/0.9548, allocations: 76.16 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.9548, allocations: 79.31 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.228e-05/0.9549, allocations: 40.47 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9549, allocations: 80.19 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9549, allocations: 77 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.955, allocations: 156.2 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.236e-05/0.955, allocations: 80.38 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.955, allocations: 152.4 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.9551, allocations: 93.75 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.9551, allocations: 77.06 kB / 1.093 GB, free: 1.566 MB / 0.8575 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.0001572/0.9553, allocations: 268.8 kB / 1.093 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.9554, allocations: 109.7 kB / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.9554, allocations: 114.2 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-05/0.9555, allocations: 186.1 kB / 1.094 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.885e-05/0.9556, allocations: 185.8 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/0.9556, allocations: 186.2 kB / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.9559, allocations: 416.9 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.9559, allocations: 105.6 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.956, allocations: 102.6 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-05/0.956, allocations: 186.1 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.9561, allocations: 179.1 kB / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.997e-05/0.9562, allocations: 182.2 kB / 1.095 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.263e-05/0.9562, allocations: 180.9 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.9564, allocations: 323.3 kB / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.9565, allocations: 187.7 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.9565, allocations: 182.7 kB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.9566, allocations: 105.5 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.9567, allocations: 178.4 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.9567, allocations: 114.9 kB / 1.096 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.722e-05/0.9568, allocations: 120.5 kB / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9568, allocations: 0 / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000248/0.9571, allocations: 3.656 kB / 1.096 GB, free: 13.9 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.0001467/0.9572, allocations: 172.9 kB / 1.096 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.228e-05/0.9573, allocations: 2.219 kB / 1.096 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9573, allocations: 0 / 1.096 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.9573, allocations: 4.453 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.9577, allocations: 466.5 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.958, allocations: 234.7 kB / 1.097 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.9582, allocations: 0.6884 MB / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.9583, allocations: 9.844 kB / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.9583, allocations: 0 / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.002237/0.9605, allocations: 0.7179 MB / 1.099 GB, free: 12.31 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