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.001205/0.001205, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001394/0.001394, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.415/1.415, allocations: 222.9 MB / 241 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.238/2.238, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8453, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002241/0.8476, allocations: 1.06 MB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.8496, allocations: 1.304 MB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.8497, allocations: 2.375 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.8499, allocations: 17.58 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.8499, allocations: 41.27 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.8508, allocations: 274.5 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.8512, allocations: 366.4 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.8515, allocations: 81.47 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.8517, allocations: 127.4 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.8519, allocations: 132.5 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.8519, allocations: 33.19 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.8521, allocations: 51.33 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.8522, allocations: 41.5 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.8523, allocations: 132.2 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.8528, allocations: 361.7 kB / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8528, allocations: 0 / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8528, allocations: 4.781 kB / 1.093 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.8528, 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.0008853/0.8537, allocations: 0.6407 MB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8538, allocations: 11.14 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.8539, allocations: 26.88 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.8541, allocations: 256.1 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.8542, allocations: 14.64 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.8542, allocations: 23.75 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.8548, allocations: 191.3 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8548, allocations: 4.594 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.8548, allocations: 6.156 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.8548, allocations: 3.469 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.8554, allocations: 171.4 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.8565, allocations: 0.6226 MB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.8571, allocations: 192.5 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.8575, allocations: 140.4 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.8575, allocations: 2.188 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/0.8581, allocations: 198.1 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.8581, allocations: 0.9375 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001288/0.8594, allocations: 468 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.8595, allocations: 106.8 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.8597, allocations: 209.9 kB / 1.096 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.8598, allocations: 37.95 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.8599, allocations: 134 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.8599, allocations: 46.38 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.8601, allocations: 63.41 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.8601, allocations: 330.1 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.8606, allocations: 160.4 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.8611, allocations: 200.6 kB / 1.097 GB, free: 408 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/0.8619, allocations: 463.5 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8619, allocations: 1.203 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001223/0.8631, allocations: 0.5355 MB / 1.098 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.8633, allocations: 132.6 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8633, allocations: 1.312 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.8633, allocations: 1.094 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8635, allocations: 38.67 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8635, allocations: 10.19 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.864, allocations: 79.17 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/0.8641, allocations: 34.03 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.000192/0.8643, allocations: 202 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.8644, allocations: 34.55 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.8644, allocations: 20.52 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8644, allocations: 2.625 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8644, allocations: 0.8438 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8645, allocations: 0.75 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.8656, allocations: 0.6911 MB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8656, allocations: 0 / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8658, allocations: 32.33 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8658, allocations: 1.734 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.8658, allocations: 7.5 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8659, allocations: 5.781 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8659, allocations: 0 / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.8667, allocations: 463.1 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.8668, allocations: 99.59 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.8669, allocations: 6.359 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.8671, allocations: 23.81 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.8671, allocations: 17.36 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.8672, allocations: 26.05 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001925/0.8674, allocations: 153.7 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8674, allocations: 0 / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003746/0.8678, allocations: 54 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001999/0.868, allocations: 109.7 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.8691, allocations: 0.5689 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8691, allocations: 1.188 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.8696, allocations: 251.8 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.8701, allocations: 47.91 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.8709, allocations: 466.1 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.8712, allocations: 0.7336 MB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.8713, allocations: 22.27 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.835e-06/0.8713, allocations: 1.094 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.006605/0.8779, allocations: 3.107 MB / 1.105 GB, free: 12.51 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