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.01103/0.01103, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00206/0.00206, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 59.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003182/1.054, allocations: 1.332 MB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002599/1.057, allocations: 1.552 MB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/1.057, allocations: 4 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/1.057, allocations: 35.53 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/1.058, allocations: 75.44 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/1.059, allocations: 0.5005 MB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001058/1.06, allocations: 0.6833 MB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/1.061, allocations: 172.3 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/1.061, allocations: 251.3 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/1.062, allocations: 247.1 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/1.062, allocations: 64 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/1.062, allocations: 91.86 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/1.062, allocations: 79.75 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/1.062, allocations: 246.9 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/1.063, allocations: 0.672 MB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.063, allocations: 4 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/1.063, allocations: 0 / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.063, allocations: 0 / 1.214 GB, free: 7.578 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.001347/1.064, allocations: 0.9505 MB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.065, allocations: 8.031 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/1.065, allocations: 48.47 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/1.066, allocations: 475.9 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/1.066, allocations: 28.92 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/1.066, allocations: 40.38 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/1.067, allocations: 321.3 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.067, allocations: 3.938 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/1.067, allocations: 8 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.067, allocations: 8 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/1.067, allocations: 254 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/1.069, allocations: 0.9119 MB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/1.07, allocations: 382.5 kB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/1.07, allocations: 277.7 kB / 1.217 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/1.07, allocations: 4 kB / 1.217 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/1.071, allocations: 315.1 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/1.071, allocations: 0 / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001538/1.072, allocations: 0.8409 MB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.072, allocations: 195.9 kB / 1.218 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/1.073, allocations: 288.4 kB / 1.219 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/1.073, allocations: 41.7 kB / 1.219 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.073, allocations: 172.8 kB / 1.219 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/1.073, allocations: 130.2 kB / 1.219 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.073, allocations: 134.1 kB / 1.219 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.073, allocations: 346.8 kB / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/1.074, allocations: 272.8 kB / 1.22 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/1.075, allocations: 365.8 kB / 1.22 GB, free: 484 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.076, allocations: 0.9051 MB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.076, allocations: 3.938 kB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001595/1.077, allocations: 0.9976 MB / 1.222 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.078, allocations: 259.3 kB / 1.222 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.078, allocations: 0 / 1.222 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.078, allocations: 8 kB / 1.222 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/1.078, allocations: 63.89 kB / 1.222 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.078, allocations: 15.88 kB / 1.222 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/1.079, allocations: 147.6 kB / 1.222 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.079, allocations: 75.91 kB / 1.223 GB, free: 13.78 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.0003233/1.079, allocations: 314.1 kB / 1.223 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/1.079, allocations: 39.62 kB / 1.223 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/1.079, allocations: 39.48 kB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.079, allocations: 4 kB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.079, allocations: 0 / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.079, allocations: 0 / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.081, allocations: 1.192 MB / 1.224 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.081, allocations: 8 kB / 1.224 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/1.081, allocations: 59.89 kB / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.082, allocations: 4 kB / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/1.082, allocations: 15.98 kB / 1.224 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.082, allocations: 4 kB / 1.224 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.082, allocations: 3.938 kB / 1.224 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/1.083, allocations: 0.7626 MB / 1.225 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/1.083, allocations: 112.6 kB / 1.225 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.083, allocations: 8 kB / 1.225 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/1.083, allocations: 27.97 kB / 1.225 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.083, allocations: 39.89 kB / 1.225 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/1.083, allocations: 55.88 kB / 1.225 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002148/1.084, allocations: 199.1 kB / 1.225 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 1.225 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004816/1.084, allocations: 107.9 kB / 1.225 GB, free: 10.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/1.084, allocations: 119.2 kB / 1.226 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00158/1.086, allocations: 1.113 MB / 1.227 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.086, allocations: 0 / 1.227 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006394/1.086, allocations: 0.5211 MB / 1.227 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/1.087, allocations: 88.48 kB / 1.227 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/1.088, allocations: 0.8101 MB / 1.228 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/1.089, allocations: 0.7924 MB / 1.229 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002826/1.089, allocations: 99.17 kB / 1.229 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/1.089, allocations: 35.44 kB / 1.229 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.089, allocations: 0 / 1.229 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of Templates: time 0.01406/1.103, allocations: 6.612 MB / 1.235 GB, free: 268 kB / 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/jenkins/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