Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 393.5 MB / 408.4 MB, free: 11 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.001289/0.001289, allocations: 188 kB / 0.4902 GB, free: 2.223 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.835/1.835, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.001018/0.001018, allocations: 105.9 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 6.969 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2931, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.4916, allocations: 150.7 MB / 1.376 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.4919, allocations: 75.95 kB / 1.376 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.5079, allocations: 4.876 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/0.508, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.508, allocations: 8 kB / 1.381 GB, free: 13.78 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001092/0.5091, allocations: 0.584 MB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5092, allocations: 8.562 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.5093, allocations: 31.7 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.5099, allocations: 285.5 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.51, allocations: 19.98 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.51, allocations: 24 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.5106, allocations: 226.3 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5106, allocations: 4 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5106, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5106, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.5112, allocations: 191.7 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.5127, allocations: 0.9889 MB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.5131, allocations: 188.9 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.5132, allocations: 4 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.5136, allocations: 203.6 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.5136, allocations: 0 / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001024/0.5146, allocations: 337.6 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.5148, allocations: 162.4 kB / 1.384 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.515, allocations: 204.1 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5151, allocations: 37.64 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.5152, allocations: 152.1 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.5152, allocations: 31.61 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.5153, allocations: 4 kB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5154, allocations: 326.8 kB / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.5158, allocations: 139.8 kB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.5163, allocations: 227.5 kB / 1.385 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.5167, allocations: 195.3 kB / 1.386 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5167, allocations: 0 / 1.386 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009656/0.5177, allocations: 436.7 kB / 1.386 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.5178, allocations: 71.39 kB / 1.386 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5178, allocations: 4 kB / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5178, allocations: 0 / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.518, allocations: 44.03 kB / 1.386 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.518, allocations: 4 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.5186, allocations: 107.7 kB / 1.386 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.5186, allocations: 19.95 kB / 1.386 GB, free: 8.188 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.0001773/0.5188, allocations: 149.8 kB / 1.386 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.5189, allocations: 19.81 kB / 1.386 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.5189, allocations: 25.23 kB / 1.387 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5189, allocations: 4 kB / 1.387 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.519, allocations: 0 / 1.387 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.519, allocations: 4 kB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.5193, allocations: 265.5 kB / 1.387 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5193, allocations: 4 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5195, allocations: 39.91 kB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5195, allocations: 4 kB / 1.387 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5195, allocations: 7.984 kB / 1.387 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.5195, allocations: 4 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5195, allocations: 0 / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.5202, allocations: 342.8 kB / 1.387 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.5203, allocations: 104.9 kB / 1.387 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.5203, allocations: 0 / 1.387 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.5205, allocations: 31.97 kB / 1.387 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.5205, allocations: 11.98 kB / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.5206, allocations: 11.94 kB / 1.387 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001591/0.5207, allocations: 164.5 kB / 1.387 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5208, allocations: 0 / 1.387 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003513/0.5211, allocations: 71.77 kB / 1.388 GB, free: 6.809 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.0002135/0.5213, allocations: 112 kB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008353/0.5222, allocations: 410.6 kB / 1.388 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5222, allocations: 3.938 kB / 1.388 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.5225, allocations: 104.3 kB / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.5228, allocations: 45.03 kB / 1.388 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.5236, allocations: 432.3 kB / 1.389 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.524, allocations: 0.7555 MB / 1.389 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.5241, allocations: 25.58 kB / 1.389 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.5241, allocations: 11.44 kB / 1.389 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/0.5241, allocations: 0 / 1.389 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of Templates: time 0.00736/0.5315, allocations: 3.252 MB / 1.393 GB, free: 1.621 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches