Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.494/2.494, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8491, allocations: 140.4 MB / 0.9496 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002369/0.8515, allocations: 0.9771 MB / 0.9506 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.8531, allocations: 1.283 MB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.8532, allocations: 1.531 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.8533, allocations: 15.8 kB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.8534, allocations: 39.62 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.8541, allocations: 243.7 kB / 0.9521 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.8545, allocations: 354.3 kB / 0.9524 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.8546, allocations: 51.92 kB / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.8548, allocations: 120 kB / 0.9526 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.8549, allocations: 106.5 kB / 0.9527 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.855, allocations: 30.31 kB / 0.9527 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.8551, allocations: 44.31 kB / 0.9528 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.8552, allocations: 41.78 kB / 0.9528 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.8553, allocations: 116.8 kB / 0.9529 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.8556, allocations: 332.5 kB / 0.9532 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8557, allocations: 4 kB / 0.9532 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8557, allocations: 5.656 kB / 0.9532 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.8557, allocations: 0 / 0.9532 GB, free: 6.609 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008257/0.8565, allocations: 0.5591 MB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8566, allocations: 9.156 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.8566, allocations: 25.72 kB / 0.9538 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.8569, allocations: 258.2 kB / 0.9541 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.8569, allocations: 23.27 kB / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.857, allocations: 13.22 kB / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.8574, allocations: 174.9 kB / 0.9543 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8574, allocations: 192 / 0.9543 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.8574, allocations: 13.28 kB / 0.9543 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8575, allocations: 3.531 kB / 0.9543 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.8579, allocations: 130.2 kB / 0.9544 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000907/0.8588, allocations: 0.8785 MB / 0.9553 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.8592, allocations: 161.4 kB / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.8594, allocations: 90.77 kB / 0.9555 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.8594, allocations: 1.312 kB / 0.9555 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.8598, allocations: 187.1 kB / 0.9557 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.8598, allocations: 4 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008927/0.8607, allocations: 281.5 kB / 0.956 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.8608, allocations: 166.1 kB / 0.9561 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.861, allocations: 203.7 kB / 0.9563 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.861, allocations: 33.45 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.8611, allocations: 131.5 kB / 0.9565 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.8611, allocations: 28.89 kB / 0.9565 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.8612, allocations: 58 kB / 0.9566 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.8613, allocations: 327.2 kB / 0.9569 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.8617, allocations: 120.7 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.862, allocations: 179.1 kB / 0.9572 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.8626, allocations: 292.8 kB / 0.9574 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8626, allocations: 1.781 kB / 0.9574 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008668/0.8635, allocations: 408.5 kB / 0.9578 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.8636, allocations: 70.39 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8636, allocations: 1.375 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.8636, allocations: 2.75 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.8638, allocations: 39.31 kB / 0.9579 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.8638, allocations: 6.734 kB / 0.9579 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.8643, allocations: 78.41 kB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.8643, allocations: 11 kB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001224/0.8644, allocations: 142.8 kB / 0.9582 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.8645, allocations: 19.97 kB / 0.9582 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.8645, allocations: 22.42 kB / 0.9582 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.8645, allocations: 6.688 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8645, allocations: 5.375 kB / 0.9582 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8646, allocations: 5.312 kB / 0.9582 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.8648, allocations: 238.5 kB / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8648, allocations: 1.344 kB / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.8649, allocations: 37.58 kB / 0.9585 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8649, allocations: 5.344 kB / 0.9585 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8649, allocations: 1.875 kB / 0.9585 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.865, allocations: 6 kB / 0.9585 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.865, allocations: 1.156 kB / 0.9585 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.8656, allocations: 254.9 kB / 0.9587 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.8656, allocations: 98.72 kB / 0.9588 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.8657, allocations: 2.562 kB / 0.9588 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.8658, allocations: 30.81 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.8659, allocations: 14.17 kB / 0.9589 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.8659, allocations: 3.844 kB / 0.9589 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001436/0.8661, allocations: 149.6 kB / 0.959 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8661, allocations: 0 / 0.959 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003281/0.8664, allocations: 48.27 kB / 0.9591 GB, free: 1.617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002475/0.8667, allocations: 104.8 kB / 0.9592 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.8676, allocations: 378.9 kB / 0.9595 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8676, allocations: 1.125 kB / 0.9595 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.8679, allocations: 94.81 kB / 0.9596 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8683, allocations: 40.67 kB / 0.9597 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.8692, allocations: 334.5 kB / 0.96 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.8694, allocations: 0.7305 MB / 0.9607 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.8696, allocations: 27.97 kB / 0.9607 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.8696, allocations: 14.75 kB / 0.9607 GB, free: 200 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8696, allocations: 0.75 kB / 0.9607 GB, free: 200 kB / 0.7169 GB Notification: Performance of Templates: time 0.008029/0.8777, allocations: 3.201 MB / 0.9639 GB, free: 14.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches