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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009083/0.0009083, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001026/0.001026, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9483/0.9486, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001197/0.9499, allocations: 0.721 MB / 0.9552 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.9515, allocations: 1.289 MB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.9516, allocations: 5.031 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.037e-05/0.9517, allocations: 8.922 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.9518, allocations: 31.97 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.9524, allocations: 221.3 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.9527, allocations: 288.4 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.9529, allocations: 57.16 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.953, allocations: 99.77 kB / 0.9571 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.9531, allocations: 94.3 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.9532, allocations: 13.38 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.9533, allocations: 29.94 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.9533, allocations: 29.16 kB / 0.9572 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.9534, allocations: 59.11 kB / 0.9573 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.9536, allocations: 272.2 kB / 0.9576 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9536, allocations: 1.469 kB / 0.9576 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9537, allocations: 0 / 0.9576 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9537, allocations: 0 / 0.9576 GB, free: 5.359 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.0007182/0.9544, allocations: 0.5998 MB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9544, allocations: 9.375 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.9545, allocations: 30.8 kB / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.9548, allocations: 260.4 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.9548, allocations: 12.48 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.9548, allocations: 19.12 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.9553, allocations: 204.3 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9553, allocations: 7.922 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.9553, allocations: 6.875 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9553, allocations: 1.812 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.9559, allocations: 205.9 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.9568, allocations: 0.6499 MB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.9573, allocations: 212.4 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.9576, allocations: 156.8 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.9576, allocations: 2.75 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.958, allocations: 212.2 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.9581, allocations: 1 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001075/0.9591, allocations: 0.5006 MB / 0.9606 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.9592, allocations: 110.6 kB / 0.9607 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.9594, allocations: 210.5 kB / 0.9609 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.9594, allocations: 38.05 kB / 0.9609 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.9595, allocations: 127.7 kB / 0.961 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.9596, allocations: 55.47 kB / 0.9611 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.9596, allocations: 4.844 kB / 0.9611 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.9597, allocations: 335.6 kB / 0.9614 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.9601, allocations: 179.4 kB / 0.9616 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.9605, allocations: 212.1 kB / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.9609, allocations: 286.2 kB / 0.962 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9609, allocations: 0 / 0.962 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009697/0.9619, allocations: 0.5662 MB / 0.9626 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.962, allocations: 130.2 kB / 0.9627 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.962, allocations: 1 kB / 0.9627 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.962, allocations: 5.438 kB / 0.9627 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.9622, allocations: 40.16 kB / 0.9628 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.9622, allocations: 10.44 kB / 0.9628 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.9627, allocations: 109.6 kB / 0.9629 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.9628, allocations: 36.58 kB / 0.9629 GB, free: 1.383 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,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.9629, allocations: 198.3 kB / 0.9631 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.963, allocations: 25.25 kB / 0.9631 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.963, allocations: 18.16 kB / 0.9631 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.9631, allocations: 6.266 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9631, allocations: 1.219 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9631, allocations: 0 / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.964, allocations: 0.7221 MB / 0.9639 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.964, allocations: 0 / 0.9639 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.9642, allocations: 47.02 kB / 0.9639 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.9642, allocations: 0 / 0.9639 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.9642, allocations: 12 kB / 0.9639 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9642, allocations: 7.922 kB / 0.9639 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9642, allocations: 1.125 kB / 0.9639 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.9649, allocations: 490.6 kB / 0.9644 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.965, allocations: 94.95 kB / 0.9645 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.965, allocations: 5.812 kB / 0.9645 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.9652, allocations: 26.94 kB / 0.9645 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.9653, allocations: 23.53 kB / 0.9645 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.9653, allocations: 24.88 kB / 0.9646 GB, free: 96 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9655, allocations: 151 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9655, allocations: 0 / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003445/0.9658, allocations: 64.98 kB / 0.9648 GB, free: 15.97 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.966, allocations: 104.5 kB / 0.9649 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.9671, allocations: 0.5975 MB / 0.9655 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9671, allocations: 0 / 0.9655 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.9675, allocations: 262.2 kB / 0.9657 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.968, allocations: 44.45 kB / 0.9657 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.9688, allocations: 473 kB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.9692, allocations: 0.7401 MB / 0.9669 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.9693, allocations: 45.73 kB / 0.967 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.9694, allocations: 20.56 kB / 0.967 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9694, allocations: 1.156 kB / 0.967 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.007552/0.9769, allocations: 3.253 MB / 0.9702 GB, free: 12.55 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