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.001534/0.001534, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001635/0.001635, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 71.89 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002761/1.053, allocations: 1.328 MB / 1.222 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002308/1.055, allocations: 1.553 MB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/1.056, allocations: 7.938 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/1.056, allocations: 31.61 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/1.056, allocations: 75.36 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/1.057, allocations: 0.5025 MB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008292/1.058, allocations: 0.6872 MB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/1.058, allocations: 168.3 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/1.059, allocations: 255.3 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/1.059, allocations: 235.2 kB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/1.059, allocations: 67.94 kB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/1.059, allocations: 83.97 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/1.06, allocations: 83.69 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/1.06, allocations: 243 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006867/1.061, allocations: 0.6837 MB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.061, allocations: 0 / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/1.061, allocations: 0 / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.532e-05/1.061, allocations: 0 / 1.227 GB, free: 12.38 MB / 0.9512 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.001532/1.062, allocations: 0.9466 MB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/1.062, allocations: 8.625 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/1.062, allocations: 56.47 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.064, allocations: 463.9 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/1.064, allocations: 32.94 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.064, allocations: 44.36 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/1.065, allocations: 325.3 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.065, allocations: 3.938 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/1.065, allocations: 12 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.065, allocations: 4 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/1.065, allocations: 262 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/1.067, allocations: 0.9042 MB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/1.068, allocations: 383 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/1.068, allocations: 288.8 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/1.068, allocations: 4 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/1.069, allocations: 330.9 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.295e-06/1.069, allocations: 0 / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001567/1.071, allocations: 0.8343 MB / 1.231 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.071, allocations: 187.9 kB / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/1.071, allocations: 296.4 kB / 1.232 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/1.071, allocations: 37.7 kB / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.071, allocations: 164.8 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/1.072, allocations: 130.2 kB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.072, allocations: 138.1 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.072, allocations: 342.8 kB / 1.233 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/1.073, allocations: 280.8 kB / 1.233 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/1.073, allocations: 357.8 kB / 1.233 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.075, allocations: 0.9128 MB / 1.234 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.075, allocations: 7.938 kB / 1.234 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001642/1.076, allocations: 0.9899 MB / 1.235 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.076, allocations: 263.3 kB / 1.235 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.076, allocations: 4 kB / 1.235 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.076, allocations: 4 kB / 1.235 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/1.077, allocations: 63.89 kB / 1.236 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.077, allocations: 4 kB / 1.236 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/1.077, allocations: 147.5 kB / 1.236 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.078, allocations: 67.86 kB / 1.236 GB, free: 2.578 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.0003254/1.078, allocations: 323.8 kB / 1.236 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/1.078, allocations: 35.61 kB / 1.236 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.078, allocations: 39.5 kB / 1.236 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.078, allocations: 3.984 kB / 1.236 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.078, allocations: 0 / 1.236 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/1.078, allocations: 116.5 kB / 1.236 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/1.078, allocations: 11.98 kB / 1.236 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/1.078, allocations: 31.97 kB / 1.236 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/1.079, allocations: 39.83 kB / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001445/1.08, allocations: 1.002 MB / 1.237 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001242/1.081, allocations: 0.8465 MB / 1.238 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007052/1.082, allocations: 256.1 kB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003069/1.082, allocations: 199.1 kB / 1.239 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of Backend: time 6.92e-07/1.082, allocations: 0 / 1.239 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001986/1.084, allocations: 1.001 MB / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001452/1.086, allocations: 1.263 MB / 1.241 GB, free: 13 MB / 0.9669 GB Notification: Performance of Templates: time 0.01364/1.099, allocations: 6.92 MB / 1.247 GB, free: 6.152 MB / 0.9669 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