Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0009291/0.0009291, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001065/0.001065, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.517/2.517, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.348e-05, allocations: 5.969 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.0019/0.001924, allocations: 1.16 MB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.003578, allocations: 1.578 MB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.003658, allocations: 4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.003785, allocations: 35.59 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.003884, allocations: 75.38 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.004617, allocations: 482.9 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.005054, allocations: 0.5854 MB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.005255, allocations: 103.6 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.005561, allocations: 351.4 kB / 0.8429 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.005753, allocations: 159.5 kB / 0.843 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.005809, allocations: 44 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005917, allocations: 67.92 kB / 0.8431 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.005982, allocations: 71.69 kB / 0.8432 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.006102, allocations: 151.7 kB / 0.8433 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.006434, allocations: 386.8 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006436, allocations: 0 / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006437, allocations: 0 / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.006441, allocations: 0 / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005892/0.00703, allocations: 0.6429 MB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.007065, allocations: 12.62 kB / 0.8444 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.007134, allocations: 48.89 kB / 0.8444 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.007403, allocations: 248.6 kB / 0.8446 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.007431, allocations: 24.88 kB / 0.8447 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.00747, allocations: 36.38 kB / 0.8447 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.007954, allocations: 305.8 kB / 0.845 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.007963, allocations: 192 / 0.845 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.007979, allocations: 12.38 kB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007987, allocations: 4.375 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.008061, allocations: 71.38 kB / 0.8451 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.008702, allocations: 484.7 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.008845, allocations: 121.1 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.008898, allocations: 52.83 kB / 0.8457 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.008907, allocations: 4 kB / 0.8457 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.009104, allocations: 294.6 kB / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/0.009106, allocations: 0 / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0002523/0.009358, allocations: 215.3 kB / 0.8462 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.009401, allocations: 110.8 kB / 0.8463 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.009568, allocations: 302.7 kB / 0.8466 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.009603, allocations: 37.7 kB / 0.8466 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.00968, allocations: 157.2 kB / 0.8468 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.009712, allocations: 63.56 kB / 0.8468 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.009839, allocations: 137.9 kB / 0.847 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.009933, allocations: 350.7 kB / 0.8473 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.01009, allocations: 227.6 kB / 0.8475 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.01032, allocations: 395.5 kB / 0.8479 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.01061, allocations: 414.5 kB / 0.8483 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.01061, allocations: 3.938 kB / 0.8483 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004482/0.01106, allocations: 0.5993 MB / 0.8489 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.01114, allocations: 138.8 kB / 0.849 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01114, allocations: 4 kB / 0.849 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01116, allocations: 4 kB / 0.849 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01129, allocations: 63.91 kB / 0.8491 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.0113, allocations: 11.92 kB / 0.8491 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.01155, allocations: 107.6 kB / 0.8492 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.01161, allocations: 51.94 kB / 0.8492 GB, free: 2.723 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001267/0.01174, allocations: 176.5 kB / 0.8494 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.01177, allocations: 27.97 kB / 0.8494 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.01199, allocations: 200.9 kB / 0.8496 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01199, allocations: 4 kB / 0.8496 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.012, allocations: 4 kB / 0.8496 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.012, allocations: 0 / 0.8496 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.0124, allocations: 490.6 kB / 0.8501 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.0124, allocations: 0 / 0.8501 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.01248, allocations: 39.92 kB / 0.8501 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01249, allocations: 4 kB / 0.8501 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.0125, allocations: 4 kB / 0.8502 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.0125, allocations: 4 kB / 0.8502 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0125, allocations: 4 kB / 0.8502 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.01268, allocations: 272.8 kB / 0.8504 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01271, allocations: 39.75 kB / 0.8505 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01273, allocations: 7.922 kB / 0.8505 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.0128, allocations: 12 kB / 0.8505 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.01284, allocations: 27.89 kB / 0.8505 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01285, allocations: 4 kB / 0.8505 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.01292, allocations: 100.6 kB / 0.8506 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 0 / 0.8506 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002438/0.01316, allocations: 95.95 kB / 0.8507 GB, free: 1.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001362/0.0133, allocations: 110.3 kB / 0.8508 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.01372, allocations: 0.6073 MB / 0.8514 GB, free: 392 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01373, allocations: 4 kB / 0.8514 GB, free: 388 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.01408, allocations: 85.55 kB / 0.8515 GB, free: 300 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01435, allocations: 79.17 kB / 0.8516 GB, free: 224 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.01489, allocations: 0.4975 MB / 0.852 GB, free: 15.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.01494, allocations: 98 kB / 0.8521 GB, free: 15.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.07e-05/0.01502, allocations: 39.27 kB / 0.8522 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.01526, allocations: 167.3 kB / 0.8523 GB, free: 15.38 MB / 0.823 GB Notification: Performance of SimCode: time 7.32e-07/0.01527, allocations: 3.938 kB / 0.8523 GB, free: 15.37 MB / 0.823 GB Notification: Performance of Templates: time 0.008537/0.0238, allocations: 6.294 MB / 0.8585 GB, free: 9.215 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.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.61272810632363]