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.001374/0.001374, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001089/0.001089, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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 0.9905/0.9905, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.016e-06/3.016e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/3.051e-05, allocations: 3.625 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.004077/0.004108, allocations: 0.8836 MB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.005806, allocations: 1.349 MB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.005861, allocations: 3.938 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.00597, allocations: 11.88 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.006047, allocations: 44.55 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.006632, allocations: 252.4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.007216, allocations: 335.3 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.007342, allocations: 33.66 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.007545, allocations: 193.1 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.007678, allocations: 81.7 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.007714, allocations: 24 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.007801, allocations: 47.91 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.007861, allocations: 43.84 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.007945, allocations: 79.81 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.008194, allocations: 220.9 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.008197, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.033e-06/0.0082, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.008205, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 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.0005483/0.008753, allocations: 0.5742 MB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.008788, allocations: 8.031 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.009037, allocations: 77.28 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.009252, allocations: 216.1 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.009275, allocations: 16.91 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.009301, allocations: 21.45 kB / 0.8159 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.009461, allocations: 142.7 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.009467, allocations: 192 / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.00948, allocations: 4.969 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.009487, allocations: 4.375 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.009545, allocations: 44.38 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.01007, allocations: 0.8296 MB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.01014, allocations: 62.12 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.01016, allocations: 28.58 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.01017, allocations: 0 / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.01028, allocations: 105.3 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.01028, allocations: 0.8438 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002045/0.01048, allocations: 121.4 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.01052, allocations: 77.11 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01066, allocations: 267.5 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01069, allocations: 33.7 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.01077, allocations: 192.2 kB / 0.8178 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.01078, allocations: 15.91 kB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.01086, allocations: 71.33 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01097, allocations: 0.497 MB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01108, allocations: 119.3 kB / 0.8184 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01122, allocations: 258.9 kB / 0.8187 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.01135, allocations: 202.2 kB / 0.8189 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01136, allocations: 1.281 kB / 0.8189 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002981/0.01165, allocations: 351.2 kB / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.0117, allocations: 75.33 kB / 0.8193 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.0117, allocations: 4 kB / 0.8193 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01171, allocations: 4 kB / 0.8193 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.01176, allocations: 8 kB / 0.8193 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01177, allocations: 0 / 0.8193 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.01193, allocations: 52.34 kB / 0.8194 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01194, allocations: 13.33 kB / 0.8194 GB, free: 9.285 MB / 0.7761 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 8.702e-05/0.01203, allocations: 169.7 kB / 0.8195 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.01205, allocations: 15.91 kB / 0.8195 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.01208, allocations: 24.95 kB / 0.8196 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01208, allocations: 5.125 kB / 0.8196 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01209, allocations: 0 / 0.8196 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01209, allocations: 2.562 kB / 0.8196 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.0122, allocations: 176.5 kB / 0.8197 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.0122, allocations: 4 kB / 0.8197 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.01221, allocations: 4 kB / 0.8197 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01222, allocations: 0 / 0.8197 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.01222, allocations: 11.92 kB / 0.8198 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01223, allocations: 7.938 kB / 0.8198 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01223, allocations: 2.875 kB / 0.8198 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01234, allocations: 136 kB / 0.8199 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.01235, allocations: 19.89 kB / 0.8199 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.01237, allocations: 0 / 0.8199 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.01238, allocations: 3.938 kB / 0.8199 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.01241, allocations: 7.984 kB / 0.8199 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01242, allocations: 8 kB / 0.8199 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.01249, allocations: 174.3 kB / 0.8201 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 0 / 0.8201 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001719/0.01266, allocations: 47.89 kB / 0.8202 GB, free: 8.418 MB / 0.7761 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.0001157/0.01278, allocations: 120.2 kB / 0.8203 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.01303, allocations: 294.8 kB / 0.8205 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.01303, allocations: 1.125 kB / 0.8205 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.01306, allocations: 31.61 kB / 0.8206 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.01325, allocations: 37.84 kB / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.01383, allocations: 300.2 kB / 0.8209 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.01387, allocations: 71.98 kB / 0.821 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.01391, allocations: 23.16 kB / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.01394, allocations: 16.5 kB / 0.821 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01394, allocations: 1 kB / 0.821 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of Templates: time 0.004568/0.0185, allocations: 2.852 MB / 0.8238 GB, free: 4.676 MB / 0.7761 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.1927783619612455]