Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 112.9 kB / 16.42 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 189 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9318, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002798/0.9346, allocations: 1.325 MB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.9371, allocations: 1.568 MB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.9374, allocations: 7.938 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.9376, allocations: 27.61 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.9379, allocations: 67.36 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.9392, allocations: 0.4912 MB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009086/0.9402, allocations: 0.6911 MB / 1.213 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.9405, allocations: 168.3 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.941, allocations: 255.3 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/0.9414, allocations: 239.2 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.9416, allocations: 64 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.9418, allocations: 79.98 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.942, allocations: 83.62 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.9423, allocations: 247 kB / 1.214 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007865/0.9431, allocations: 0.6875 MB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9431, allocations: 0 / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9431, allocations: 0 / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.9431, allocations: 0 / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001543/0.9447, allocations: 0.9427 MB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.9448, allocations: 12.03 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.9449, allocations: 52.47 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.9463, allocations: 459.9 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.9464, allocations: 36.88 kB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.9465, allocations: 48.34 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.9472, allocations: 317.3 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9472, allocations: 3.938 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.9472, allocations: 12 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.9473, allocations: 4 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.9479, allocations: 254 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.9496, allocations: 0.9081 MB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.9503, allocations: 390.4 kB / 1.218 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.9508, allocations: 280.8 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.9509, allocations: 4 kB / 1.218 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.9515, allocations: 311.1 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.534e-06/0.9515, allocations: 0 / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001733/0.9532, allocations: 0.8409 MB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.9534, allocations: 191.9 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.9538, allocations: 296.3 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.9539, allocations: 41.7 kB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.9541, allocations: 160.8 kB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.9542, allocations: 134.2 kB / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.9545, allocations: 134.1 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9546, allocations: 346.8 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.9553, allocations: 276.8 kB / 1.22 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.956, allocations: 357.8 kB / 1.221 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.9571, allocations: 0.9129 MB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.9572, allocations: 7.938 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001656/0.9588, allocations: 0.9938 MB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.959, allocations: 263.2 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.959, allocations: 4 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.959, allocations: 4 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.9593, allocations: 67.89 kB / 1.223 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.9593, allocations: 4 kB / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.9601, allocations: 147.5 kB / 1.223 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.9602, allocations: 67.86 kB / 1.223 GB, free: 13.86 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.9605, allocations: 318.2 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.9606, allocations: 35.61 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.308e-05/0.9607, allocations: 35.5 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.9607, allocations: 3.984 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9607, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.9608, allocations: 116.5 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.9609, allocations: 15.98 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.9611, allocations: 31.97 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.9612, allocations: 39.83 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001332/0.9625, allocations: 0.9995 MB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001142/0.9637, allocations: 0.8465 MB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004559/0.9641, allocations: 251.8 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001961/0.9643, allocations: 199 kB / 1.226 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of Backend: time 5.1e-07/0.9643, allocations: 0 / 1.226 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.9661, allocations: 1.002 MB / 1.227 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001722/0.9678, allocations: 1.254 MB / 1.228 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.0142/0.982, allocations: 7.085 MB / 1.235 GB, free: 1.293 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches