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.287/2.287, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00115/0.00115, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009174/0.0009174, allocations: 87.89 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.142e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/1.063, allocations: 150.7 MB / 1.366 GB, free: 3.328 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/1.064, allocations: 74.17 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01427/1.078, allocations: 4.876 MB / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.446e-06/1.078, allocations: 0 / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.161e-05/1.078, allocations: 11.94 kB / 1.371 GB, free: 15.05 MB / 0.8386 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.0007717/1.079, allocations: 0.553 MB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.079, allocations: 8.031 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.079, allocations: 27.72 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/1.079, allocations: 286.2 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.079, allocations: 15.62 kB / 1.372 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/1.079, allocations: 27.23 kB / 1.372 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.08, allocations: 176.2 kB / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.08, allocations: 0 / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.08, allocations: 3.562 kB / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/1.08, allocations: 4 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/1.08, allocations: 96.47 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/1.081, allocations: 0.9848 MB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/1.081, allocations: 131.9 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/1.081, allocations: 57.17 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/1.081, allocations: 0 / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/1.082, allocations: 160.5 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.082, allocations: 0 / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003177/1.082, allocations: 147.1 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.082, allocations: 158.3 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.082, allocations: 205.6 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/1.082, allocations: 33.7 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/1.082, allocations: 155.2 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/1.082, allocations: 31.31 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/1.082, allocations: 7.375 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/1.083, allocations: 329.6 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/1.083, allocations: 82.55 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.083, allocations: 172.5 kB / 1.374 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.083, allocations: 143.1 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.083, allocations: 0 / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005244/1.084, allocations: 338.6 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.084, allocations: 71.08 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.084, allocations: 3.984 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.084, allocations: 4.219 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.084, allocations: 47.03 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.084, allocations: 0 / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/1.085, allocations: 110.9 kB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.085, allocations: 16 kB / 1.375 GB, free: 10.68 MB / 0.8386 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 () * 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 9.389e-05/1.085, allocations: 116.4 kB / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/1.085, allocations: 26.67 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/1.085, allocations: 19.44 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.085, allocations: 4 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.085, allocations: 3.984 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.085, allocations: 0 / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/1.085, allocations: 273 kB / 1.376 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.085, allocations: 0 / 1.376 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/1.085, allocations: 43.91 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.085, allocations: 0 / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.085, allocations: 7.688 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.085, allocations: 3.984 kB / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.085, allocations: 8 kB / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/1.086, allocations: 223.4 kB / 1.376 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/1.086, allocations: 100.9 kB / 1.376 GB, free: 9.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/1.086, allocations: 11.44 kB / 1.376 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.086, allocations: 23.97 kB / 1.376 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/1.086, allocations: 15.11 kB / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.086, allocations: 4 kB / 1.376 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001306/1.086, allocations: 166.1 kB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.086, allocations: 4 kB / 1.376 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003034/1.086, allocations: 58.78 kB / 1.376 GB, free: 9.57 MB / 0.8386 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 () * 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.0001658/1.087, allocations: 127.3 kB / 1.376 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004046/1.087, allocations: 298.5 kB / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.087, allocations: 0 / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.087, allocations: 56.88 kB / 1.377 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/1.087, allocations: 49.53 kB / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/1.088, allocations: 270.9 kB / 1.377 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.088, allocations: 0.751 MB / 1.378 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.088, allocations: 29.19 kB / 1.378 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/1.088, allocations: 11.44 kB / 1.378 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.088, allocations: 0 / 1.378 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of Templates: time 0.006396/1.095, allocations: 3.249 MB / 1.381 GB, free: 4.832 MB / 0.8386 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