Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.005/3.005, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.705e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002542/0.002579, allocations: 0.8492 MB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.005123, allocations: 1.318 MB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.005256, allocations: 0 / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.005416, allocations: 19.73 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.005567, allocations: 39.72 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.006589, allocations: 271.4 kB / 1.003 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.007189, allocations: 331.4 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.007398, allocations: 41.67 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.007837, allocations: 183.7 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.008107, allocations: 91.73 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.008214, allocations: 28 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.00838, allocations: 47.98 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.00848, allocations: 47.77 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.008668, allocations: 91.81 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.009275, allocations: 382.9 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.009279, allocations: 0 / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.833e-06/0.009281, allocations: 4 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.009294, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001024/0.01032, allocations: 492.6 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.01036, allocations: 8.031 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.01087, allocations: 68.75 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.01163, allocations: 229.6 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.01167, allocations: 16.31 kB / 1.005 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.01174, allocations: 20.38 kB / 1.005 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.01208, allocations: 149.5 kB / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.0121, allocations: 192 / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.01212, allocations: 8.375 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.01213, allocations: 8.125 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.0123, allocations: 63.91 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01334, allocations: 0.645 MB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.01348, allocations: 61.23 kB / 1.005 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.01352, allocations: 17.78 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.01354, allocations: 4 kB / 1.005 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/0.01387, allocations: 112.9 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.01387, allocations: 0 / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0003938/0.01426, allocations: 133.5 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.01434, allocations: 81.11 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.01464, allocations: 215.8 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.01469, allocations: 29.7 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01485, allocations: 140.3 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.01488, allocations: 15.91 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01502, allocations: 61.67 kB / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.0152, allocations: 326.8 kB / 1.007 GB, free: 460 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.01542, allocations: 131.4 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.01571, allocations: 251.3 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.01603, allocations: 194.3 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01603, allocations: 0 / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006891/0.01672, allocations: 368.1 kB / 1.007 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.01681, allocations: 71.33 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.01682, allocations: 4 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.01684, allocations: 4 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.01692, allocations: 7.938 kB / 1.008 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.01693, allocations: 4 kB / 1.008 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.01729, allocations: 63.98 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.01734, allocations: 19.92 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001707/0.01751, allocations: 142.4 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.01755, allocations: 19.84 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.01759, allocations: 17.02 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01759, allocations: 0 / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.0176, allocations: 4 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01761, allocations: 0 / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.01781, allocations: 161.2 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01781, allocations: 4 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.01784, allocations: 7.938 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01785, allocations: 4 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01786, allocations: 11.92 kB / 1.008 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01786, allocations: 0 / 1.008 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01787, allocations: 0 / 1.008 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01808, allocations: 133.9 kB / 1.008 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.01811, allocations: 15.84 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01813, allocations: 11.88 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.01817, allocations: 8 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01822, allocations: 7.922 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01823, allocations: 8 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001519/0.01838, allocations: 149.5 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01838, allocations: 0 / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002874/0.01867, allocations: 47.89 kB / 1.008 GB, free: 14.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001942/0.01886, allocations: 102.4 kB / 1.008 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.01935, allocations: 294.1 kB / 1.009 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01935, allocations: 384 / 1.009 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.01942, allocations: 35.92 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.01974, allocations: 32.81 kB / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.02043, allocations: 299.3 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.02058, allocations: 115.6 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.972e-05/0.02065, allocations: 25.47 kB / 1.009 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.02069, allocations: 20.44 kB / 1.009 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.02069, allocations: 0 / 1.009 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of Templates: time 0.008177/0.02887, allocations: 2.647 MB / 1.012 GB, free: 10.83 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.505021397024393]