Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.001141/0.001141, 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.001129/0.001129, 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.377/1.377, 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 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8649, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002457/0.8674, allocations: 1.047 MB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.8691, allocations: 1.307 MB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.8692, allocations: 1.688 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.8693, allocations: 18.14 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.8694, allocations: 47.02 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.8702, allocations: 275.1 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.8706, allocations: 363 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.8709, allocations: 81.08 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.871, allocations: 132.3 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.8713, allocations: 128.6 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/0.8714, allocations: 33.75 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.8715, allocations: 46.95 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.8716, allocations: 49.14 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.8717, allocations: 132.2 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.8723, allocations: 361.7 kB / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8723, allocations: 0 / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8723, allocations: 0.75 kB / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.8723, allocations: 0 / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009387/0.8732, allocations: 0.6332 MB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.8733, allocations: 17.52 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.8734, allocations: 28.03 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.8737, allocations: 256 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.8737, allocations: 14.08 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.8738, allocations: 19.81 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.8743, allocations: 195.5 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8743, allocations: 0 / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.8744, allocations: 7.141 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8744, allocations: 6.75 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.875, allocations: 167.6 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.8762, allocations: 0.6346 MB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.8767, allocations: 192.4 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.8771, allocations: 136.5 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.8771, allocations: 9.031 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004824/0.8776, allocations: 195.9 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.8776, allocations: 0 / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001316/0.879, allocations: 466.6 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.879, allocations: 115 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.8793, allocations: 208.9 kB / 1.096 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.8793, allocations: 34.67 kB / 1.096 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.8794, allocations: 133.2 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.8795, allocations: 47.61 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.8796, allocations: 63.08 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.8797, allocations: 333.7 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.8802, allocations: 161.1 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.8807, allocations: 197.1 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.8815, allocations: 458.6 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8816, allocations: 4.688 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001315/0.8829, allocations: 0.5374 MB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.133e-05/0.883, allocations: 122.4 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.883, allocations: 5.891 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.883, allocations: 5.938 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.8832, allocations: 38.31 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.8833, allocations: 10.62 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.8837, allocations: 75.19 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.8838, allocations: 37.53 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001936/0.884, allocations: 197.8 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.8841, allocations: 23 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.8841, allocations: 27.72 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8842, allocations: 2.25 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8842, allocations: 0 / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.8842, allocations: 91.53 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.8843, allocations: 11.08 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.8845, allocations: 24.09 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.8845, allocations: 17.98 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001054/0.8856, allocations: 0.5391 MB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009261/0.8865, allocations: 0.5235 MB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003908/0.8869, allocations: 147.1 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001731/0.8871, allocations: 153.1 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of Backend: time 4.31e-07/0.8871, allocations: 1.125 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.8883, allocations: 0.5294 MB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001041/0.8893, allocations: 0.8901 MB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01063/0.9, allocations: 4.1 MB / 1.105 GB, free: 12.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches