Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01117/0.01117, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.002256/0.002256, allocations: 200.9 kB / 16.68 MB, free: 5.965 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3819, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00322/0.3852, allocations: 1.34 MB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3882, allocations: 1.553 MB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.3886, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3888, allocations: 35.53 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.3891, allocations: 71.38 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3907, allocations: 0.4905 MB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000931/0.3917, allocations: 0.6833 MB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.392, allocations: 172.8 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.3925, allocations: 247.4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.393, allocations: 259 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3931, allocations: 68 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.3933, allocations: 75.98 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3935, allocations: 87.69 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.3938, allocations: 246.9 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.3946, allocations: 0.6773 MB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3946, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3946, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.3946, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 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.001587/0.3962, allocations: 0.9541 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3963, allocations: 12.03 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.3964, allocations: 52.66 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.3977, allocations: 488 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3977, allocations: 24.94 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3978, allocations: 40.38 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.3985, allocations: 317.3 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3985, allocations: 7.938 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.3985, allocations: 8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3985, allocations: 8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.3992, allocations: 258 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.4008, allocations: 0.9045 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.4015, allocations: 382.5 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.402, allocations: 280.8 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.402, allocations: 4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000622/0.4027, allocations: 326.9 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 3.316e-06/0.4027, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001684/0.4044, allocations: 0.8345 MB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4045, allocations: 195.9 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.4048, allocations: 288.5 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.4048, allocations: 45.7 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.405, allocations: 168.9 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4051, allocations: 138.9 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.4054, allocations: 138.1 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4056, allocations: 346.8 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.4062, allocations: 272.8 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.4069, allocations: 365.8 kB / 1.179 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.4082, allocations: 0.9051 MB / 1.18 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4082, allocations: 3.938 kB / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001711/0.4099, allocations: 0.9979 MB / 1.181 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.4101, allocations: 259.3 kB / 1.181 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4101, allocations: 0 / 1.181 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4101, allocations: 4 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.4105, allocations: 71.83 kB / 1.181 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4105, allocations: 7.984 kB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.4113, allocations: 155.7 kB / 1.181 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4114, allocations: 63.92 kB / 1.181 GB, free: 6.957 MB / 0.9356 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.0003104/0.4117, allocations: 322.1 kB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.4118, allocations: 39.77 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.4119, allocations: 39.48 kB / 1.182 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4119, allocations: 4 kB / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4119, allocations: 0 / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4119, allocations: 0 / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.414, allocations: 1.198 MB / 1.183 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.414, allocations: 0 / 1.183 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.4143, allocations: 71.89 kB / 1.183 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4143, allocations: 0 / 1.183 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.4143, allocations: 15.98 kB / 1.183 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.4144, allocations: 0 / 1.183 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4144, allocations: 3.938 kB / 1.183 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.4156, allocations: 0.7706 MB / 1.184 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4157, allocations: 112.8 kB / 1.184 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.4158, allocations: 8 kB / 1.184 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.416, allocations: 31.91 kB / 1.184 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4161, allocations: 39.89 kB / 1.184 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.4162, allocations: 51.94 kB / 1.184 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002222/0.4164, allocations: 199.1 kB / 1.184 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4164, allocations: 0 / 1.184 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004782/0.4169, allocations: 111.9 kB / 1.184 GB, free: 3.758 MB / 0.9356 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.0002446/0.4172, allocations: 115.9 kB / 1.185 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.419, allocations: 1.112 MB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.419, allocations: 0 / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.4197, allocations: 0.5208 MB / 1.186 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.4202, allocations: 84.53 kB / 1.186 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4217, allocations: 0.8128 MB / 1.187 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.4221, allocations: 0.7885 MB / 1.188 GB, free: 96 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.4225, allocations: 95.19 kB / 1.188 GB, free: 0 / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.4226, allocations: 35.48 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.4226, allocations: 4 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.0134/0.436, allocations: 6.604 MB / 1.194 GB, free: 9.438 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches