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.001042/0.001042, 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.001312/0.001312, 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.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.336 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 1.834e-06/1.834e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.69e-05, allocations: 6.25 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001595/0.001622, allocations: 0.8736 MB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.00305, allocations: 1.348 MB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.003113, allocations: 9.125 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003223, allocations: 16.45 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.003303, allocations: 35.94 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.003899, allocations: 264.8 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.004192, allocations: 326.7 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.004305, allocations: 46.16 kB / 0.7629 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.0045, allocations: 200.5 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.004633, allocations: 78.14 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.004666, allocations: 24 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.004747, allocations: 39.92 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.004802, allocations: 47.83 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.004872, allocations: 83.81 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.0051, allocations: 224.4 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005102, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005102, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005106, allocations: 5.125 kB / 0.7635 GB, free: 3.07 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.0005856/0.005692, allocations: 455.3 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.005722, allocations: 8.562 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.005907, allocations: 44.89 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.006097, allocations: 186.4 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.006117, allocations: 12.38 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.006142, allocations: 24.84 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.006258, allocations: 119 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006265, allocations: 192 / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.006275, allocations: 9.406 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.00628, allocations: 384 / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.006315, allocations: 31.86 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.006714, allocations: 0.5311 MB / 0.7649 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.006769, allocations: 55.02 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.006786, allocations: 13.78 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.006793, allocations: 3.984 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.00689, allocations: 102.2 kB / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.00689, allocations: 0 / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000127/0.007017, allocations: 82.28 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.007053, allocations: 85.09 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007162, allocations: 200.3 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.007184, allocations: 33.7 kB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.007242, allocations: 128.9 kB / 0.7656 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.007254, allocations: 19.83 kB / 0.7656 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.007319, allocations: 59.53 kB / 0.7656 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.007386, allocations: 326.8 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.007459, allocations: 99.38 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.007573, allocations: 215.3 kB / 0.7663 GB, free: 16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.007693, allocations: 182.9 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007695, allocations: 0 / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001994/0.007895, allocations: 282.1 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.007933, allocations: 75.39 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007937, allocations: 2.75 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007949, allocations: 7.938 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.007991, allocations: 15.92 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007994, allocations: 0 / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.008137, allocations: 39.92 kB / 0.7668 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.008154, allocations: 17.73 kB / 0.7668 GB, free: 15.31 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 8.031e-05/0.008234, allocations: 128.6 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.008248, allocations: 11.98 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.008278, allocations: 21.89 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00828, allocations: 3.938 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008281, allocations: 0.8125 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008285, allocations: 4 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.321e-05/0.008369, allocations: 106.5 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.008369, allocations: 0 / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.008382, allocations: 10.08 kB / 0.7671 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.008384, allocations: 4 kB / 0.7671 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008391, allocations: 0 / 0.7671 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008393, allocations: 0 / 0.7671 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008394, allocations: 0 / 0.7671 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.008475, allocations: 109.8 kB / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.008488, allocations: 12.5 kB / 0.7672 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.008498, allocations: 0.7188 kB / 0.7672 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.008515, allocations: 0 / 0.7672 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.008535, allocations: 12.42 kB / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008541, allocations: 12 kB / 0.7673 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.008579, allocations: 54.11 kB / 0.7673 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008579, allocations: 0 / 0.7673 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001527/0.008731, allocations: 51.88 kB / 0.7674 GB, free: 14.74 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.0001075/0.008839, allocations: 84.41 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.009035, allocations: 281.3 kB / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.009038, allocations: 0 / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.009063, allocations: 21.52 kB / 0.7677 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.009198, allocations: 33.22 kB / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.009541, allocations: 294.3 kB / 0.7681 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.009581, allocations: 75.98 kB / 0.7681 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.009622, allocations: 18.62 kB / 0.7681 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.009739, allocations: 100.3 kB / 0.7682 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.00974, allocations: 0 / 0.7682 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.004629/0.01437, allocations: 2.869 MB / 0.771 GB, free: 11.06 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 -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.152324136346579]