Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001243/0.001243, allocations: 177 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.515/1.515, allocations: 223.2 MB / 0.7948 GB, free: 18.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.001052/0.001052, allocations: 96.08 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 10.67 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.5182, allocations: 149.8 MB / 1.369 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5185, allocations: 75.95 kB / 1.369 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.5308, allocations: 4.29 MB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5309, allocations: 0 / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.5309, allocations: 4 kB / 1.373 GB, free: 15.26 MB / 0.8855 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.0008221/0.5317, allocations: 0.5525 MB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5318, allocations: 8.031 kB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.5318, allocations: 23.81 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.5321, allocations: 250.2 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.5322, allocations: 15.98 kB / 1.374 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.5322, allocations: 20 kB / 1.374 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.5327, allocations: 187.7 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5327, allocations: 4 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.5327, allocations: 7.953 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5327, allocations: 4 kB / 1.374 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.5332, allocations: 159.8 kB / 1.375 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5343, allocations: 0.8994 MB / 1.375 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.5347, allocations: 173 kB / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.5347, allocations: 4.062 kB / 1.376 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.5351, allocations: 199.4 kB / 1.376 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.5351, allocations: 0 / 1.376 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0009358/0.5361, allocations: 329.5 kB / 1.376 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.5361, allocations: 166.2 kB / 1.376 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5363, allocations: 178.2 kB / 1.376 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.5364, allocations: 33.8 kB / 1.376 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.5365, allocations: 140.2 kB / 1.377 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.5365, allocations: 19.72 kB / 1.377 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.5365, allocations: 11.94 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5367, allocations: 334.8 kB / 1.377 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.537, allocations: 135.9 kB / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.5374, allocations: 191.5 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.5378, allocations: 191.3 kB / 1.377 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5378, allocations: 0 / 1.377 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008673/0.5387, allocations: 436.6 kB / 1.378 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.165e-05/0.5387, allocations: 76.02 kB / 1.378 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5387, allocations: 0 / 1.378 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5388, allocations: 8.094 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.539, allocations: 39.91 kB / 1.378 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.539, allocations: 0 / 1.378 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.5394, allocations: 99.84 kB / 1.378 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.5395, allocations: 23.98 kB / 1.378 GB, free: 10.01 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001345/0.5396, allocations: 135.5 kB / 1.378 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.5397, allocations: 31.73 kB / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.5397, allocations: 16.94 kB / 1.378 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5397, allocations: 3.984 kB / 1.378 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5397, allocations: 4 kB / 1.378 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5398, allocations: 0 / 1.378 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.54, allocations: 257.4 kB / 1.379 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.54, allocations: 4 kB / 1.379 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.5402, allocations: 31.97 kB / 1.379 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5402, allocations: 4 kB / 1.379 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5402, allocations: 4 kB / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5402, allocations: 0 / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5402, allocations: 0 / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.5408, allocations: 346.8 kB / 1.379 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.5409, allocations: 92.92 kB / 1.379 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.5409, allocations: 3.953 kB / 1.379 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.5411, allocations: 35.97 kB / 1.379 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.5412, allocations: 15.97 kB / 1.379 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.5412, allocations: 8 kB / 1.379 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001192/0.5413, allocations: 140.6 kB / 1.379 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5413, allocations: 0 / 1.379 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002847/0.5416, allocations: 55.94 kB / 1.379 GB, free: 8.711 MB / 0.8855 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 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001855/0.5418, allocations: 119.2 kB / 1.379 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007978/0.5426, allocations: 406.5 kB / 1.38 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5426, allocations: 0 / 1.38 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.5429, allocations: 108.3 kB / 1.38 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.5432, allocations: 40.09 kB / 1.38 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.5439, allocations: 363.5 kB / 1.38 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.5442, allocations: 0.7359 MB / 1.381 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.5442, allocations: 21.06 kB / 1.381 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.5443, allocations: 15.44 kB / 1.381 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5443, allocations: 0 / 1.381 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of Templates: time 0.005653/0.55, allocations: 2.769 MB / 1.384 GB, free: 4.086 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches