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.001653/0.001653, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001389/0.00139, allocations: 187 kB / 17.34 MB, free: 5.73 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 67.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7496, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002423/0.752, allocations: 1.339 MB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.7541, allocations: 1.544 MB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.7543, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.7544, allocations: 35.53 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.7546, allocations: 75.31 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.7558, allocations: 499.5 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.7566, allocations: 0.6872 MB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.7569, allocations: 172.2 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.7572, allocations: 255.4 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.7576, allocations: 247.1 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.7578, allocations: 67.94 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7579, allocations: 79.98 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.758, allocations: 79.77 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.7583, allocations: 246.9 kB / 1.214 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.7589, allocations: 0.6798 MB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7589, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7589, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.759, allocations: 0 / 1.214 GB, free: 7.605 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.001367/0.7603, allocations: 0.9467 MB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7604, allocations: 12.03 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.7605, allocations: 48.47 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.7618, allocations: 475.8 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.7619, allocations: 28.94 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.762, allocations: 36.38 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.7626, allocations: 321.3 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7626, allocations: 3.938 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7627, allocations: 12 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.7627, allocations: 4 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.7633, allocations: 262 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.7649, allocations: 0.9081 MB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.7656, allocations: 378.4 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.7661, allocations: 276.9 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.7661, allocations: 4 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/0.7667, allocations: 319 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.385e-06/0.7667, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001552/0.7683, allocations: 0.841 MB / 1.219 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.7684, allocations: 191.9 kB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.7687, allocations: 288.4 kB / 1.219 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.507e-05/0.7688, allocations: 45.69 kB / 1.219 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.7689, allocations: 172.8 kB / 1.22 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.769, allocations: 130.2 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.7693, allocations: 134.1 kB / 1.22 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7694, allocations: 346.8 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.77, allocations: 276.8 kB / 1.22 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.7706, allocations: 361.8 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.7718, allocations: 0.9051 MB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7718, allocations: 3.938 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001576/0.7734, allocations: 0.9978 MB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.7736, allocations: 263.3 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7736, allocations: 3.984 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7736, allocations: 8 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.7739, allocations: 71.77 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7739, allocations: 4 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.7747, allocations: 147.5 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7748, allocations: 63.92 kB / 1.223 GB, free: 13.81 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.0002848/0.7751, allocations: 326.1 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.7752, allocations: 35.62 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.7753, allocations: 39.48 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7753, allocations: 4 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7753, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7753, allocations: 3.984 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.777, allocations: 1.192 MB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.777, allocations: 0 / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.7773, allocations: 67.89 kB / 1.225 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.7773, allocations: 4 kB / 1.225 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.7773, allocations: 11.98 kB / 1.225 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.7773, allocations: 4 kB / 1.225 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7773, allocations: 3.938 kB / 1.225 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7785, allocations: 0.7626 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.7786, allocations: 116.6 kB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.7787, allocations: 8 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.7789, allocations: 27.91 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.779, allocations: 39.89 kB / 1.226 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.7791, allocations: 51.94 kB / 1.226 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001935/0.7793, allocations: 203 kB / 1.226 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7793, allocations: 0 / 1.226 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004697/0.7798, allocations: 107.9 kB / 1.226 GB, free: 10.63 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.0001961/0.78, allocations: 119.2 kB / 1.226 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.7817, allocations: 1.113 MB / 1.227 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7817, allocations: 3.906 kB / 1.227 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006063/0.7823, allocations: 0.5211 MB / 1.228 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.7828, allocations: 88.48 kB / 1.228 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.7841, allocations: 0.8431 MB / 1.229 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.7844, allocations: 0.7924 MB / 1.23 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.7845, allocations: 31.44 kB / 1.23 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.7845, allocations: 4 kB / 1.23 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of Templates: time 0.00888/0.7934, allocations: 5.633 MB / 1.235 GB, free: 1.285 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