Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00247/0.3573, allocations: 0.8783 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3593, allocations: 1.308 MB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.3594, allocations: 4 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3595, allocations: 15.8 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.3596, allocations: 31.72 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.3604, allocations: 270.5 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.3608, allocations: 327.3 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.361, allocations: 49.38 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3612, allocations: 127.7 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.3614, allocations: 115.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3614, allocations: 28 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3615, allocations: 51.97 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.3616, allocations: 47.84 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3618, allocations: 119.4 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3622, allocations: 350.8 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3622, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3622, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3622, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 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.0008435/0.3631, allocations: 0.5525 MB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3631, allocations: 12.03 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.3632, allocations: 32.73 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.3639, allocations: 296.1 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3639, allocations: 12.38 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3639, allocations: 20.38 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3642, allocations: 160.4 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3642, allocations: 3.938 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3642, allocations: 3.984 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.3642, allocations: 4 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3644, allocations: 63.91 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.3652, allocations: 0.7547 MB / 1.222 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3653, allocations: 65.11 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.3654, allocations: 25.77 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3654, allocations: 0 / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.3656, allocations: 109 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.3656, allocations: 0 / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003022/0.3659, allocations: 125.7 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.366, allocations: 85.03 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3662, allocations: 211.8 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3663, allocations: 33.7 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3664, allocations: 148.2 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3664, allocations: 19.89 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3665, allocations: 61.67 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3667, allocations: 326.8 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3669, allocations: 71.95 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3671, allocations: 132.5 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3673, allocations: 198.1 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3673, allocations: 0 / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005315/0.3679, allocations: 296.7 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.3679, allocations: 63.39 kB / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3679, allocations: 4 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.368, allocations: 8.125 kB / 1.223 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.368, allocations: 15.98 kB / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.368, allocations: 0 / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.3684, allocations: 71.81 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3685, allocations: 19.94 kB / 1.224 GB, free: 7.258 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.0001823/0.3686, allocations: 149.8 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.3687, allocations: 19.91 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.3687, allocations: 12.94 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3687, allocations: 0 / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3687, allocations: 0 / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3687, allocations: 7.984 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3689, allocations: 225.5 kB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.369, allocations: 3.984 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.369, allocations: 12 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.369, allocations: 0 / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.369, allocations: 0 / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.369, allocations: 11.94 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.369, allocations: 0 / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3692, allocations: 137.8 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.3693, allocations: 100.9 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3693, allocations: 0 / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.3693, allocations: 3.938 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.3694, allocations: 11.98 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3694, allocations: 8 kB / 1.224 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001279/0.3695, allocations: 140.2 kB / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3695, allocations: 0 / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002823/0.3698, allocations: 47.89 kB / 1.224 GB, free: 6.285 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.0001705/0.37, allocations: 113.5 kB / 1.225 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3704, allocations: 226.9 kB / 1.225 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3704, allocations: 4.125 kB / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.3704, allocations: 31.92 kB / 1.225 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3707, allocations: 35.91 kB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.3713, allocations: 313.2 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3717, allocations: 0.7319 MB / 1.226 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.935e-05/0.3717, allocations: 25.53 kB / 1.226 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3718, allocations: 15.44 kB / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3718, allocations: 4 kB / 1.226 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.006434/0.3782, allocations: 2.553 MB / 1.228 GB, free: 2.191 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.79124126303941]