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.001645/0.001644, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00199/0.00199, allocations: 189.5 kB / 16.14 MB, free: 6.645 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.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.539/2.539, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8275, allocations: 140.4 MB / 0.9489 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002403/0.83, allocations: 1.103 MB / 0.95 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.8317, allocations: 1.34 MB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.8318, allocations: 2.75 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.8319, allocations: 7.875 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.832, allocations: 35.83 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.8326, allocations: 249 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.833, allocations: 312.3 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.8331, allocations: 71.61 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.8333, allocations: 114.6 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.8334, allocations: 118.2 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.8335, allocations: 15.88 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.8336, allocations: 33.47 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.8337, allocations: 29.77 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.8339, allocations: 112.5 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.8342, allocations: 348.6 kB / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8342, allocations: 0 / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8342, allocations: 0 / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8342, allocations: 0 / 0.9527 GB, free: 6.559 MB / 0.7169 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.0009408/0.8352, allocations: 0.6342 MB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8352, allocations: 9.281 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.8353, allocations: 27.88 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.8356, allocations: 260.2 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.8356, allocations: 17.78 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.8357, allocations: 19.41 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.8362, allocations: 197.2 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8362, allocations: 1.5 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.8362, allocations: 5.656 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8362, allocations: 3.031 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.8368, allocations: 165 kB / 0.954 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.8379, allocations: 0.6374 MB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.8384, allocations: 186.9 kB / 0.9548 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.8387, allocations: 142.5 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8388, allocations: 1.281 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.8393, allocations: 197.5 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 3.256e-06/0.8393, allocations: 0 / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001105/0.8404, allocations: 480.6 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.8404, allocations: 110.4 kB / 0.9557 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.8406, allocations: 208.4 kB / 0.9559 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.8407, allocations: 33.83 kB / 0.9559 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.8408, allocations: 131.4 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.8408, allocations: 51.52 kB / 0.9561 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8409, allocations: 61.31 kB / 0.9561 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.841, allocations: 330.9 kB / 0.9565 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.8414, allocations: 162.5 kB / 0.9566 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.8419, allocations: 201 kB / 0.9568 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.8426, allocations: 465.7 kB / 0.9572 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8426, allocations: 4 kB / 0.9573 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001002/0.8436, allocations: 0.526 MB / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.8437, allocations: 135.3 kB / 0.9579 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8437, allocations: 1.5 kB / 0.9579 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8437, allocations: 5.375 kB / 0.9579 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.8439, allocations: 32.72 kB / 0.9579 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8439, allocations: 6.688 kB / 0.9579 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.8444, allocations: 79.41 kB / 0.958 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.8444, allocations: 39.89 kB / 0.9581 GB, free: 2.398 MB / 0.7169 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.0001405/0.8446, allocations: 198.5 kB / 0.9582 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.8446, allocations: 22.03 kB / 0.9583 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.8447, allocations: 26.25 kB / 0.9583 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8447, allocations: 5.328 kB / 0.9583 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.8447, allocations: 1.344 kB / 0.9583 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8447, allocations: 0 / 0.9583 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.8457, allocations: 0.6859 MB / 0.959 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.8457, allocations: 1.094 kB / 0.959 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.8459, allocations: 46.55 kB / 0.959 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.8459, allocations: 1.188 kB / 0.959 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.8459, allocations: 2.125 kB / 0.959 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8459, allocations: 5.078 kB / 0.959 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8459, allocations: 1.094 kB / 0.959 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.8467, allocations: 463.9 kB / 0.9595 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.8467, allocations: 93.39 kB / 0.9596 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.8468, allocations: 6.406 kB / 0.9596 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.847, allocations: 27.38 kB / 0.9596 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.847, allocations: 19.5 kB / 0.9596 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.8471, allocations: 29.3 kB / 0.9596 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00014/0.8472, allocations: 152.7 kB / 0.9598 GB, free: 1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8472, allocations: 0 / 0.9598 GB, free: 1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003793/0.8476, allocations: 64.98 kB / 0.9598 GB, free: 0.9844 MB / 0.7169 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.0002012/0.8478, allocations: 104.4 kB / 0.9599 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.8489, allocations: 0.5685 MB / 0.9605 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8489, allocations: 1.125 kB / 0.9605 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.8493, allocations: 242.1 kB / 0.9607 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.8498, allocations: 51.45 kB / 0.9608 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008661/0.8506, allocations: 484 kB / 0.9612 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.851, allocations: 0.7401 MB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.8511, allocations: 42.28 kB / 0.962 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.8512, allocations: 16.16 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/0.8512, allocations: 1.375 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.00773/0.8589, allocations: 3.386 MB / 0.9653 GB, free: 13.51 MB / 0.7325 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/jenkins/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