Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001009/0.001009, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001016/0.001016, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 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.009/1.009, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.654e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001927/0.001954, allocations: 0.9184 MB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.003738, allocations: 1.358 MB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.003815, allocations: 3.938 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.003935, allocations: 21 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.004023, allocations: 36.64 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.00468, allocations: 248.6 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.005054, allocations: 343.6 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.005187, allocations: 39.42 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.005422, allocations: 203.6 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.005581, allocations: 80.8 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.005619, allocations: 24 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.005763, allocations: 40.45 kB / 0.7633 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.005833, allocations: 45.41 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.005923, allocations: 83.81 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.006216, allocations: 223.3 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.00622, allocations: 0 / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006221, allocations: 1.219 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.006228, allocations: 0 / 0.7636 GB, free: 2.969 MB / 0.7136 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.0006769/0.006905, allocations: 451.2 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.006949, allocations: 12.53 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.007189, allocations: 49.62 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.007417, allocations: 181.4 kB / 0.7643 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.00744, allocations: 13.12 kB / 0.7643 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.007464, allocations: 20.38 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.007597, allocations: 131 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.007606, allocations: 192 / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.007616, allocations: 5.75 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.007624, allocations: 4.375 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.007668, allocations: 31.86 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.008108, allocations: 0.5278 MB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.832e-05/0.008166, allocations: 49.25 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.008184, allocations: 14.81 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.00819, allocations: 0 / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.008308, allocations: 93.94 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.008309, allocations: 4 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000151/0.00846, allocations: 86.11 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.008495, allocations: 83.89 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.008906, allocations: 199.4 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.008933, allocations: 37.7 kB / 0.7655 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.008994, allocations: 128.2 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.009008, allocations: 19.83 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.009082, allocations: 61.64 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.009161, allocations: 330.7 kB / 0.766 GB, free: 272 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.009245, allocations: 95.38 kB / 0.7661 GB, free: 164 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.009371, allocations: 222.4 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.009509, allocations: 180.9 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.009512, allocations: 0 / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002342/0.009746, allocations: 281.7 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.009794, allocations: 73.11 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.0098, allocations: 4 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.009818, allocations: 7.938 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.009868, allocations: 11.94 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.009871, allocations: 0.9688 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01003, allocations: 44.56 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01005, allocations: 16.64 kB / 0.7669 GB, free: 15.21 MB / 0.7292 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],conInt2.y,conInt3.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 9.267e-05/0.01014, allocations: 129.7 kB / 0.7671 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.01016, allocations: 13.86 kB / 0.7671 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.01019, allocations: 13.03 kB / 0.7671 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.0102, allocations: 7.922 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.0102, allocations: 7.922 kB / 0.7671 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0102, allocations: 0 / 0.7671 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.01031, allocations: 108.3 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.01031, allocations: 0 / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.01033, allocations: 4 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.01033, allocations: 4 kB / 0.7672 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.01034, allocations: 0 / 0.7672 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01034, allocations: 4 kB / 0.7672 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01034, allocations: 6.359 kB / 0.7672 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.336e-05/0.01043, allocations: 101.9 kB / 0.7673 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.01045, allocations: 15.84 kB / 0.7673 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.01046, allocations: 3.984 kB / 0.7673 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.01048, allocations: 0 / 0.7673 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.0105, allocations: 7.938 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01051, allocations: 11.98 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.01056, allocations: 51.61 kB / 0.7674 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 4.594 kB / 0.7674 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001632/0.01072, allocations: 47.89 kB / 0.7675 GB, free: 14.63 MB / 0.7292 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.0001155/0.01083, allocations: 86.5 kB / 0.7675 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.01105, allocations: 277.1 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.01105, allocations: 0 / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.01108, allocations: 28.84 kB / 0.7678 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01124, allocations: 34.41 kB / 0.7679 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.01161, allocations: 294 kB / 0.7681 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01165, allocations: 75.98 kB / 0.7682 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.01169, allocations: 15.08 kB / 0.7682 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.01182, allocations: 95.34 kB / 0.7683 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.01182, allocations: 2.219 kB / 0.7683 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.005023/0.01684, allocations: 2.87 MB / 0.7711 GB, free: 10.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038373769726604]