Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001229/0.001229, allocations: 179 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.001113/0.001113, allocations: 94.95 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 12.56 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3731, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5752, allocations: 149.8 MB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5755, allocations: 87.88 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.5875, allocations: 4.3 MB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5876, allocations: 3.938 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.5876, allocations: 4 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006358/0.5883, allocations: 0.5138 MB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5883, allocations: 8.031 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.5884, allocations: 23.81 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.5889, allocations: 266.6 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.5889, allocations: 19.92 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.589, allocations: 20 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.5892, allocations: 153 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5893, allocations: 0 / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5893, allocations: 4 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5893, allocations: 4 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.5894, allocations: 71.89 kB / 1.375 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5905, allocations: 0.8092 MB / 1.375 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5907, allocations: 70.11 kB / 1.375 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5907, allocations: 0 / 1.375 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.5909, allocations: 101.1 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.5909, allocations: 0 / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003542/0.5913, allocations: 137.3 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.5913, allocations: 85.11 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.5916, allocations: 204.7 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.5916, allocations: 29.7 kB / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5918, allocations: 139.9 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5918, allocations: 15.75 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.5918, allocations: 8 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.592, allocations: 330.7 kB / 1.376 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5921, allocations: 75.95 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.5924, allocations: 146.8 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.5925, allocations: 123.4 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5925, allocations: 0 / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005162/0.5931, allocations: 309.1 kB / 1.377 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.5932, allocations: 68.33 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5932, allocations: 4 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5932, allocations: 0 / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.5933, allocations: 12.02 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.5933, allocations: 7.938 kB / 1.377 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.5937, allocations: 79.97 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.5937, allocations: 16.08 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001682/0.5939, allocations: 159.2 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5939, allocations: 15.81 kB / 1.377 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.594, allocations: 16.92 kB / 1.377 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.594, allocations: 3.938 kB / 1.377 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.594, allocations: 4 kB / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.594, allocations: 0 / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.5942, allocations: 245.5 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5942, allocations: 0 / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.5943, allocations: 7.984 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5943, allocations: 0 / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5943, allocations: 8 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5943, allocations: 4 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5943, allocations: 4 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.5945, allocations: 151.3 kB / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.5946, allocations: 100.8 kB / 1.378 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.5946, allocations: 4 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.5947, allocations: 8 kB / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.5947, allocations: 7.984 kB / 1.378 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.5947, allocations: 8 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001546/0.5949, allocations: 164.5 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5949, allocations: 0 / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002754/0.5952, allocations: 52 kB / 1.378 GB, free: 2.637 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002258/0.5954, allocations: 122.9 kB / 1.378 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.5959, allocations: 274.7 kB / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.5959, allocations: 0 / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.5959, allocations: 39.91 kB / 1.379 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.5962, allocations: 32.64 kB / 1.379 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.5968, allocations: 329.7 kB / 1.379 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.5972, allocations: 0.732 MB / 1.38 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.4e-05/0.5972, allocations: 21.06 kB / 1.38 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.5973, allocations: 19.44 kB / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5973, allocations: 0 / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of Templates: time 0.006103/0.6034, allocations: 2.776 MB / 1.382 GB, free: 14.24 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches