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.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.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.001025/0.001025, allocations: 92.16 kB / 16.02 MB, free: 80 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.001257/0.001257, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.328 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.446/2.446, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004389, allocations: 16 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8296, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0009699/0.8306, allocations: 0.6845 MB / 0.9564 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.8321, allocations: 1.312 MB / 0.9577 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.8322, allocations: 1.125 kB / 0.9577 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.227e-05/0.8323, allocations: 13 kB / 0.9577 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.8324, allocations: 27.19 kB / 0.9577 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.833, allocations: 242.5 kB / 0.9579 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.8332, allocations: 283.9 kB / 0.9582 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.8333, allocations: 50.81 kB / 0.9583 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.8335, allocations: 96.98 kB / 0.9584 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.8336, allocations: 93.86 kB / 0.9584 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.8336, allocations: 11.72 kB / 0.9585 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.8337, allocations: 30.11 kB / 0.9585 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.8337, allocations: 33.31 kB / 0.9585 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.8339, allocations: 121.4 kB / 0.9586 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.834, allocations: 248.7 kB / 0.9589 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8341, allocations: 0 / 0.9589 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8341, allocations: 1.438 kB / 0.9589 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.8341, allocations: 0 / 0.9589 GB, free: 5.34 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.0006476/0.8347, allocations: 0.5376 MB / 0.9594 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.8348, allocations: 8.812 kB / 0.9594 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.8348, allocations: 26.62 kB / 0.9594 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.8351, allocations: 253.6 kB / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8351, allocations: 15.25 kB / 0.9597 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.8351, allocations: 20.73 kB / 0.9597 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.8355, allocations: 195 kB / 0.9599 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8355, allocations: 192 / 0.9599 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.8356, allocations: 5.312 kB / 0.9599 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8356, allocations: 2.75 kB / 0.9599 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.8361, allocations: 168.2 kB / 0.9601 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.8369, allocations: 0.8967 MB / 0.9609 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.8373, allocations: 175.9 kB / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.8376, allocations: 110 kB / 0.9612 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.8376, allocations: 5.109 kB / 0.9612 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.838, allocations: 197.5 kB / 0.9614 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.838, allocations: 0 / 0.9614 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009437/0.8389, allocations: 333.8 kB / 0.9617 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.839, allocations: 164.8 kB / 0.9619 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.8392, allocations: 211.9 kB / 0.9621 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.8392, allocations: 30.83 kB / 0.9621 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.8393, allocations: 130.7 kB / 0.9622 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.8393, allocations: 28.36 kB / 0.9623 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.8394, allocations: 26.14 kB / 0.9623 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.8394, allocations: 327.9 kB / 0.9626 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.8398, allocations: 138.8 kB / 0.9627 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.8402, allocations: 197 kB / 0.9629 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.8408, allocations: 331.9 kB / 0.9632 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8408, allocations: 0 / 0.9632 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008788/0.8417, allocations: 443 kB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.8417, allocations: 70.42 kB / 0.9637 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8418, allocations: 1.25 kB / 0.9637 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8418, allocations: 3.906 kB / 0.9637 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.842, allocations: 44.84 kB / 0.9638 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.842, allocations: 3.562 kB / 0.9638 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.8425, allocations: 109.6 kB / 0.9639 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.8425, allocations: 19.36 kB / 0.9639 GB, free: 1.211 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.0001102/0.8426, allocations: 137.7 kB / 0.964 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.8427, allocations: 20.28 kB / 0.964 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.8427, allocations: 13.47 kB / 0.9641 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8427, allocations: 6.875 kB / 0.9641 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8427, allocations: 5.031 kB / 0.9641 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8427, allocations: 5.328 kB / 0.9641 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.8429, allocations: 249.6 kB / 0.9643 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8429, allocations: 2 kB / 0.9643 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.8431, allocations: 32.47 kB / 0.9643 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8431, allocations: 2.688 kB / 0.9643 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8431, allocations: 4.531 kB / 0.9644 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8431, allocations: 7.938 kB / 0.9644 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8431, allocations: 3.938 kB / 0.9644 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.8437, allocations: 292.1 kB / 0.9646 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.8438, allocations: 95.27 kB / 0.9647 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.8438, allocations: 2.344 kB / 0.9647 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.844, allocations: 33.59 kB / 0.9648 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.844, allocations: 22.34 kB / 0.9648 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.844, allocations: 4.406 kB / 0.9648 GB, free: 460 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001092/0.8442, allocations: 148.8 kB / 0.9649 GB, free: 348 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8442, allocations: 1.406 kB / 0.9649 GB, free: 348 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002954/0.8445, allocations: 43.44 kB / 0.965 GB, free: 344 kB / 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.0001365/0.8446, allocations: 104.3 kB / 0.9651 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008167/0.8454, allocations: 403.5 kB / 0.9655 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8454, allocations: 0 / 0.9655 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.8458, allocations: 125.2 kB / 0.9656 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.8462, allocations: 44.53 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.8468, allocations: 411.5 kB / 0.966 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.8471, allocations: 0.7312 MB / 0.9667 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.8471, allocations: 14.56 kB / 0.9667 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.8472, allocations: 0 / 0.9667 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.004963/0.8521, allocations: 2.7 MB / 0.9694 GB, free: 13.45 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/jenkins1/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