Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001776/0.001776, allocations: 118.4 kB / 16.81 MB, free: 5.758 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.001852/0.001852, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.616/1.616, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3387, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002652/0.3413, allocations: 1.327 MB / 1.263 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3437, allocations: 1.561 MB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3438, allocations: 4 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3439, allocations: 43.48 kB / 1.265 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3441, allocations: 71.38 kB / 1.265 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3454, allocations: 0.5036 MB / 1.265 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007226/0.3461, allocations: 0.6482 MB / 1.266 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.3464, allocations: 132.8 kB / 1.266 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.3467, allocations: 251.4 kB / 1.266 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.347, allocations: 247.1 kB / 1.267 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3471, allocations: 68 kB / 1.267 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3472, allocations: 79.98 kB / 1.267 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3473, allocations: 83.64 kB / 1.267 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.3476, allocations: 247 kB / 1.267 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.3484, allocations: 0.6812 MB / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3484, allocations: 0 / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3484, allocations: 3.938 kB / 1.268 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3484, allocations: 0 / 1.268 GB, free: 6.973 MB / 0.9825 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.001389/0.3498, allocations: 0.9542 MB / 1.269 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3498, allocations: 12.03 kB / 1.269 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.35, allocations: 56.64 kB / 1.269 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3513, allocations: 464.1 kB / 1.269 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3514, allocations: 28.94 kB / 1.269 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.3515, allocations: 40.38 kB / 1.269 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.3521, allocations: 317.3 kB / 1.27 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3521, allocations: 7.875 kB / 1.27 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3522, allocations: 15.98 kB / 1.27 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3522, allocations: 8 kB / 1.27 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.3529, allocations: 250.1 kB / 1.27 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3545, allocations: 0.9084 MB / 1.271 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.3553, allocations: 359.8 kB / 1.271 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3558, allocations: 260.8 kB / 1.271 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3558, allocations: 0 / 1.271 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006734/0.3565, allocations: 334.9 kB / 1.272 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.3565, allocations: 0 / 1.272 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001859/0.3584, allocations: 0.8345 MB / 1.273 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.3585, allocations: 187.9 kB / 1.273 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.3589, allocations: 296.5 kB / 1.273 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.359, allocations: 37.7 kB / 1.273 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3592, allocations: 173 kB / 1.273 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3593, allocations: 142.8 kB / 1.273 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.3595, allocations: 134.1 kB / 1.273 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3597, allocations: 346.8 kB / 1.274 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.3604, allocations: 276.8 kB / 1.274 GB, free: 268 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.3611, allocations: 361.8 kB / 1.274 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3624, allocations: 0.909 MB / 1.275 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3624, allocations: 0 / 1.275 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001871/0.3643, allocations: 1.006 MB / 1.276 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.3645, allocations: 257.2 kB / 1.277 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3645, allocations: 4 kB / 1.277 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3645, allocations: 7.984 kB / 1.277 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.3648, allocations: 63.91 kB / 1.277 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.3648, allocations: 8.203 kB / 1.277 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.3656, allocations: 143.5 kB / 1.277 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.3657, allocations: 75.91 kB / 1.277 GB, free: 13.19 MB / 0.9981 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.0003284/0.366, allocations: 322.1 kB / 1.277 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3661, allocations: 35.77 kB / 1.277 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/0.3662, allocations: 39.48 kB / 1.277 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3662, allocations: 3.984 kB / 1.277 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3662, allocations: 0 / 1.277 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.3663, allocations: 120.8 kB / 1.277 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.3663, allocations: 8 kB / 1.277 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3665, allocations: 27.97 kB / 1.277 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.3666, allocations: 43.89 kB / 1.277 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001506/0.3681, allocations: 1.014 MB / 1.278 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001253/0.3694, allocations: 0.8311 MB / 1.279 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004726/0.3699, allocations: 224.1 kB / 1.279 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002052/0.3701, allocations: 199.1 kB / 1.28 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Backend: time 3.51e-07/0.3701, allocations: 0 / 1.28 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.3717, allocations: 0.9317 MB / 1.281 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001504/0.3732, allocations: 1.271 MB / 1.282 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.01357/0.3867, allocations: 7.015 MB / 1.289 GB, free: 0.7578 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches