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.507/1.507, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 0.572 GB, free: 10.61 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.0008927/0.0008927, allocations: 90.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.204e-05/5.208e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7363/0.9676, allocations: 131.8 MB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.9679, allocations: 72.52 kB / 1.021 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006423/0.9743, allocations: 2.081 MB / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9744, allocations: 0 / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.9744, allocations: 4 kB / 1.023 GB, free: 1.078 MB / 0.6355 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.0009491/0.9753, allocations: 492.4 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.9754, allocations: 8.031 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.9755, allocations: 22.56 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.9757, allocations: 209.4 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.9758, allocations: 7.375 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.9758, allocations: 4 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.9761, allocations: 150.1 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.9762, allocations: 0 / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.9762, allocations: 7.5 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.9762, allocations: 3.953 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.9764, allocations: 72.3 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.9778, allocations: 0.8176 MB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.978, allocations: 133.8 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.9782, allocations: 58.17 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.9782, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.9785, allocations: 148.8 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.9785, allocations: 4 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003663/0.9789, allocations: 126.5 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.979, allocations: 165.3 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.9792, allocations: 155.3 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.9792, allocations: 33.33 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.9793, allocations: 113.8 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.9793, allocations: 38.19 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.9794, allocations: 7.562 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9795, allocations: 329.8 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.9796, allocations: 41.23 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.9798, allocations: 71.8 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.603e-05/0.9799, allocations: 41.47 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9799, allocations: 4 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002618/0.9802, allocations: 152.2 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9802, allocations: 5.25 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9802, allocations: 4 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9802, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.9806, allocations: 71.91 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.9806, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.9809, allocations: 62.97 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.9809, allocations: 7.938 kB / 1.026 GB, free: 13.54 MB / 0.6511 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 () * 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.0001026/0.981, allocations: 115.8 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.9811, allocations: 19.75 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.9811, allocations: 20.05 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9811, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9812, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.9812, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.9814, allocations: 234.5 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9814, allocations: 4 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.9817, allocations: 47.95 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9817, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9817, allocations: 8 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.9817, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9817, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.982, allocations: 230.9 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.9821, allocations: 85.02 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.9821, allocations: 11.98 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.9824, allocations: 51.2 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.9825, allocations: 35.72 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.9825, allocations: 7.984 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.579e-05/0.9826, allocations: 120.9 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9826, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000234/0.9829, allocations: 31.72 kB / 1.027 GB, free: 12.49 MB / 0.6511 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) * 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.000172/0.983, allocations: 111.5 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.9833, allocations: 99.05 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9833, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.9835, allocations: 71.92 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.9838, allocations: 27.91 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.9842, allocations: 210.4 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.9845, allocations: 0.7197 MB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.9846, allocations: 20.86 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.9847, allocations: 11.44 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.9847, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.004293/0.989, allocations: 1.825 MB / 1.03 GB, free: 9.449 MB / 0.6511 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