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.001341/0.001341, 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.001146/0.001146, 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 0.9869/0.9869, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.403/2.403, allocations: 438.8 MB / 0.6827 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 2.966e-06/2.966e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.108e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00259/0.002621, allocations: 1.11 MB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.004884, allocations: 1.582 MB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004991, allocations: 4 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.005138, allocations: 27.61 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.005275, allocations: 75.31 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.006263, allocations: 482.9 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.006823, allocations: 0.5932 MB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.007054, allocations: 103.6 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.007451, allocations: 351.4 kB / 0.8428 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.007688, allocations: 151.6 kB / 0.8429 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.007758, allocations: 44 kB / 0.843 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.007867, allocations: 63.92 kB / 0.843 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.007949, allocations: 75.73 kB / 0.8431 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.008109, allocations: 159.6 kB / 0.8433 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.008529, allocations: 382.8 kB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.008532, allocations: 0 / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008533, allocations: 0 / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.008537, allocations: 0 / 0.8436 GB, free: 9.02 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.0007608/0.009298, allocations: 0.639 MB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.009337, allocations: 8.625 kB / 0.8443 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.743e-05/0.009434, allocations: 60.88 kB / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.009767, allocations: 236.6 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.009805, allocations: 28.88 kB / 0.8446 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.009875, allocations: 40.38 kB / 0.8446 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.01015, allocations: 301.8 kB / 0.8449 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01016, allocations: 4.188 kB / 0.8449 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.01018, allocations: 8.375 kB / 0.8449 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.01019, allocations: 8.375 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.01029, allocations: 67.39 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.01111, allocations: 476.7 kB / 0.8454 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.01128, allocations: 125.1 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.01135, allocations: 52.81 kB / 0.8456 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.01136, allocations: 4 kB / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.0116, allocations: 294.6 kB / 0.8459 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.01161, allocations: 4 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0003189/0.01192, allocations: 215.3 kB / 0.8461 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.01198, allocations: 106.8 kB / 0.8462 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.01219, allocations: 302.7 kB / 0.8465 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.01224, allocations: 37.7 kB / 0.8465 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01234, allocations: 169.1 kB / 0.8467 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.01239, allocations: 59.56 kB / 0.8467 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.01256, allocations: 133.9 kB / 0.8469 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01267, allocations: 346.7 kB / 0.8472 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.01289, allocations: 227.6 kB / 0.8474 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.01318, allocations: 399.5 kB / 0.8478 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.01355, allocations: 406.5 kB / 0.8482 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.01356, allocations: 7.938 kB / 0.8482 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006105/0.01417, allocations: 0.6028 MB / 0.8488 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.01425, allocations: 138.8 kB / 0.8489 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01426, allocations: 0 / 0.8489 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01428, allocations: 8 kB / 0.8489 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.01444, allocations: 56.31 kB / 0.849 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.01445, allocations: 15.92 kB / 0.849 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.01481, allocations: 107.6 kB / 0.8491 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.01489, allocations: 59.86 kB / 0.8492 GB, free: 2.836 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.0001642/0.01505, allocations: 180.5 kB / 0.8493 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01509, allocations: 27.97 kB / 0.8494 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01537, allocations: 196.9 kB / 0.8495 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01537, allocations: 4 kB / 0.8495 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01537, allocations: 0 / 0.8495 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01538, allocations: 0 / 0.8495 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.01588, allocations: 486.6 kB / 0.85 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01588, allocations: 0 / 0.85 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01598, allocations: 39.91 kB / 0.85 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01598, allocations: 4 kB / 0.85 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.016, allocations: 4 kB / 0.8501 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.016, allocations: 4 kB / 0.8501 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.016, allocations: 0 / 0.8501 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.01623, allocations: 280.8 kB / 0.8503 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.01627, allocations: 27.77 kB / 0.8504 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.0163, allocations: 19.92 kB / 0.8504 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.0164, allocations: 12 kB / 0.8504 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01644, allocations: 23.95 kB / 0.8504 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.01646, allocations: 8 kB / 0.8504 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.473e-05/0.01655, allocations: 100.6 kB / 0.8505 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01655, allocations: 0 / 0.8505 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003567/0.01691, allocations: 91.95 kB / 0.8506 GB, free: 1.301 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.0001475/0.01705, allocations: 106.3 kB / 0.8507 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.0176, allocations: 0.6112 MB / 0.8513 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.01761, allocations: 4 kB / 0.8513 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01771, allocations: 84.73 kB / 0.8514 GB, free: 424 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.01806, allocations: 81.8 kB / 0.8515 GB, free: 344 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.01872, allocations: 497.8 kB / 0.8519 GB, free: 15.81 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.01879, allocations: 97.98 kB / 0.852 GB, free: 15.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.01889, allocations: 43.27 kB / 0.8521 GB, free: 15.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.0192, allocations: 167.3 kB / 0.8522 GB, free: 15.5 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/0.0192, allocations: 3.938 kB / 0.8522 GB, free: 15.49 MB / 0.823 GB Notification: Performance of Templates: time 0.009818/0.02902, allocations: 6.299 MB / 0.8584 GB, free: 9.336 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 -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.501104074995965]