Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 172.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 83.92 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 8.344 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3192, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.5436, allocations: 131.8 MB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5439, allocations: 67.95 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006767/0.5507, allocations: 2.075 MB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5507, allocations: 3.938 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.5507, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001107/0.5518, allocations: 0.4953 MB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/0.5519, allocations: 12.03 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.552, allocations: 11.81 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.5524, allocations: 218.9 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.5525, allocations: 12 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.5526, allocations: 8 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.5533, allocations: 232 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5533, allocations: 3.938 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5534, allocations: 4 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.5534, allocations: 7.953 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.5543, allocations: 247.7 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.556, allocations: 0.8175 MB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.5568, allocations: 257.8 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5568, allocations: 7.938 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006437/0.5574, allocations: 231.6 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.285e-06/0.5575, allocations: 4 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001468/0.5589, allocations: 429.3 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5591, allocations: 170.3 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.5593, allocations: 150 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.5593, allocations: 33.7 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5594, allocations: 115.9 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.5595, allocations: 31.64 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.5595, allocations: 4 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5597, allocations: 326.8 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.5601, allocations: 135.8 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.5606, allocations: 165.7 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.561, allocations: 131.9 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.561, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008678/0.5619, allocations: 333.2 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5619, allocations: 10.75 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5619, allocations: 4 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5619, allocations: 4.031 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.5623, allocations: 63.94 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5623, allocations: 3.938 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.5626, allocations: 63.8 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.5626, allocations: 7.984 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001351/0.5627, allocations: 130.9 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.5628, allocations: 16.17 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.5628, allocations: 24.94 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.5629, allocations: 4 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5629, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5629, allocations: 7.984 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.5631, allocations: 225.5 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5631, allocations: 3.953 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.5634, allocations: 59.89 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5634, allocations: 0 / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.5634, allocations: 11.98 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5634, allocations: 3.938 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5634, allocations: 4 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.5643, allocations: 398.9 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.5644, allocations: 92.95 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.5645, allocations: 4 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.5647, allocations: 51.94 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5648, allocations: 39.91 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.5649, allocations: 4 kB / 1.037 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.565, allocations: 131.2 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.565, allocations: 0 / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002385/0.5652, allocations: 35.89 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001562/0.5654, allocations: 99.25 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009091/0.5663, allocations: 291.6 kB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5663, allocations: 0 / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.5668, allocations: 160 kB / 1.037 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.567, allocations: 28.05 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.5678, allocations: 331.5 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5681, allocations: 0.7199 MB / 1.038 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.87e-05/0.5682, allocations: 20.86 kB / 1.038 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.5682, allocations: 11.44 kB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.5682, allocations: 0 / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of Templates: time 0.00431/0.5725, allocations: 1.796 MB / 1.04 GB, free: 252 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches