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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001775/0.001775, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001935/0.001935, allocations: 188 kB / 17.34 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 474.5 MB / 0.7477 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 1.073 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 160.3 MB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00321/1.049, allocations: 1.333 MB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002902/1.052, allocations: 1.55 MB / 1.232 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/1.052, allocations: 8 kB / 1.232 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/1.053, allocations: 35.55 kB / 1.232 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/1.053, allocations: 75.42 kB / 1.232 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/1.054, allocations: 0.4926 MB / 1.233 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008832/1.055, allocations: 0.6911 MB / 1.233 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/1.056, allocations: 166.2 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/1.056, allocations: 255.4 kB / 1.234 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/1.056, allocations: 255 kB / 1.234 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.057, allocations: 64 kB / 1.234 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/1.057, allocations: 79.92 kB / 1.234 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/1.057, allocations: 79.75 kB / 1.234 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/1.057, allocations: 250.9 kB / 1.234 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007911/1.058, allocations: 0.6817 MB / 1.235 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.058, allocations: 4 kB / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.214e-06/1.058, allocations: 0 / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.994e-06/1.058, allocations: 0 / 1.235 GB, free: 4.992 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.001425/1.059, allocations: 0.9465 MB / 1.236 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.059, allocations: 12.03 kB / 1.236 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.06, allocations: 52.66 kB / 1.236 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.061, allocations: 476 kB / 1.236 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/1.061, allocations: 32.92 kB / 1.236 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/1.061, allocations: 40.38 kB / 1.237 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/1.062, allocations: 321.3 kB / 1.237 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.062, allocations: 7.922 kB / 1.237 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/1.062, allocations: 12 kB / 1.237 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.062, allocations: 4 kB / 1.237 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000663/1.063, allocations: 250 kB / 1.237 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/1.064, allocations: 0.9237 MB / 1.238 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/1.065, allocations: 374.7 kB / 1.238 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/1.066, allocations: 292 kB / 1.239 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/1.066, allocations: 4 kB / 1.239 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/1.066, allocations: 311 kB / 1.239 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/1.066, allocations: 4 kB / 1.239 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001677/1.068, allocations: 0.8345 MB / 1.24 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.068, allocations: 195.9 kB / 1.24 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/1.068, allocations: 288.5 kB / 1.24 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/1.068, allocations: 41.7 kB / 1.24 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.069, allocations: 176.7 kB / 1.24 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.069, allocations: 134.9 kB / 1.241 GB, free: 15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.069, allocations: 134.1 kB / 1.241 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.069, allocations: 346.8 kB / 1.241 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/1.07, allocations: 276.8 kB / 1.241 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/1.071, allocations: 357.8 kB / 1.242 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.072, allocations: 0.909 MB / 1.242 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.072, allocations: 11.88 kB / 1.243 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001788/1.074, allocations: 0.9899 MB / 1.243 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.074, allocations: 259.3 kB / 1.244 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.074, allocations: 4 kB / 1.244 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.074, allocations: 4.281 kB / 1.244 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/1.074, allocations: 71.89 kB / 1.244 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.074, allocations: 7.938 kB / 1.244 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/1.075, allocations: 151.5 kB / 1.244 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.075, allocations: 63.92 kB / 1.244 GB, free: 11.17 MB / 0.9669 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.0003313/1.075, allocations: 319.2 kB / 1.244 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/1.076, allocations: 39.77 kB / 1.244 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/1.076, allocations: 39.48 kB / 1.244 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.076, allocations: 4 kB / 1.244 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.076, allocations: 11.94 kB / 1.244 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.076, allocations: 0 / 1.244 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.078, allocations: 1.191 MB / 1.246 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.078, allocations: 0 / 1.246 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/1.078, allocations: 63.89 kB / 1.246 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.078, allocations: 4 kB / 1.246 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/1.078, allocations: 11.98 kB / 1.246 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.078, allocations: 7.938 kB / 1.246 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.078, allocations: 3.938 kB / 1.246 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.079, allocations: 0.7702 MB / 1.246 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/1.079, allocations: 112.8 kB / 1.247 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/1.079, allocations: 8 kB / 1.247 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/1.08, allocations: 35.97 kB / 1.247 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/1.08, allocations: 39.89 kB / 1.247 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/1.08, allocations: 51.88 kB / 1.247 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002198/1.08, allocations: 199.1 kB / 1.247 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 1.247 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004891/1.081, allocations: 104 kB / 1.247 GB, free: 7.98 MB / 0.9669 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.0001984/1.081, allocations: 127.8 kB / 1.247 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.082, allocations: 1.106 MB / 1.248 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.082, allocations: 0 / 1.248 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/1.083, allocations: 0.5242 MB / 1.249 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/1.084, allocations: 88.52 kB / 1.249 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.085, allocations: 0.8167 MB / 1.25 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/1.086, allocations: 0.7924 MB / 1.25 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002184/1.086, allocations: 95.19 kB / 1.25 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/1.086, allocations: 39.44 kB / 1.25 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/1.086, allocations: 0 / 1.25 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of Templates: time 0.01285/1.099, allocations: 6.618 MB / 1.257 GB, free: 13.62 MB / 0.9825 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 -s gbode -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