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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001445/0.001445, allocations: 173 kB / 23.49 MB, free: 1.059 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.9463/0.9463, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.117/2.117, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.945e-06/2.945e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.657e-05, allocations: 7.578 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001958/0.001994, allocations: 1.124 MB / 0.8793 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.003704, allocations: 1.561 MB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003816, allocations: 7.875 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.003949, allocations: 35.61 kB / 0.8809 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/0.004049, allocations: 67.44 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.004926, allocations: 479 kB / 0.8814 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.005448, allocations: 0.5893 MB / 0.882 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.005682, allocations: 101.8 kB / 0.8821 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.006011, allocations: 335.4 kB / 0.8824 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.006227, allocations: 176.5 kB / 0.8825 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.006296, allocations: 60 kB / 0.8826 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006398, allocations: 67.98 kB / 0.8827 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.006472, allocations: 76.81 kB / 0.8827 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.006627, allocations: 175.6 kB / 0.8829 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.007059, allocations: 439.8 kB / 0.8833 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.007064, allocations: 0 / 0.8833 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/0.007065, allocations: 0 / 0.8833 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.007073, allocations: 0 / 0.8833 GB, free: 1.391 MB / 0.8386 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.0008069/0.00788, allocations: 0.7765 MB / 0.8841 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.007925, allocations: 12.03 kB / 0.8841 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.008042, allocations: 61.36 kB / 0.8842 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.008663, allocations: 330 kB / 0.8845 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.0087, allocations: 20.88 kB / 0.8845 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.008745, allocations: 40.38 kB / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.009087, allocations: 346.4 kB / 0.8849 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.009097, allocations: 192 / 0.8849 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.009118, allocations: 17.69 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.009131, allocations: 8.125 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.00927, allocations: 110.9 kB / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.01017, allocations: 0.7362 MB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.0104, allocations: 161.2 kB / 0.8859 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.0105, allocations: 95.56 kB / 0.886 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.01051, allocations: 4 kB / 0.886 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.01077, allocations: 336.7 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.01077, allocations: 0 / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0007514/0.01152, allocations: 370.5 kB / 0.8866 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.0116, allocations: 110.8 kB / 0.8867 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.0119, allocations: 362 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.01195, allocations: 45.69 kB / 0.8871 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.01209, allocations: 223.4 kB / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.01214, allocations: 67.53 kB / 0.8874 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01229, allocations: 151.7 kB / 0.8875 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.01244, allocations: 0.5157 MB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.01281, allocations: 283.6 kB / 0.8883 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.01316, allocations: 0.5016 MB / 0.8888 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.01356, allocations: 0.4955 MB / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.01356, allocations: 0 / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000813/0.01438, allocations: 0.8057 MB / 0.8901 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.01446, allocations: 126.8 kB / 0.8902 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.01448, allocations: 4 kB / 0.8902 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.0145, allocations: 4 kB / 0.8902 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.01471, allocations: 60.31 kB / 0.8903 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.01472, allocations: 8 kB / 0.8903 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.01508, allocations: 99.66 kB / 0.8904 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.01518, allocations: 71.86 kB / 0.8904 GB, free: 9.516 MB / 0.8542 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,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],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]) * 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.0001902/0.01537, allocations: 216.4 kB / 0.8906 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01542, allocations: 43.81 kB / 0.8907 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.01586, allocations: 304.5 kB / 0.891 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.01587, allocations: 4 kB / 0.891 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01587, allocations: 0 / 0.891 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01588, allocations: 3.984 kB / 0.891 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.01651, allocations: 0.6662 MB / 0.8916 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01651, allocations: 0 / 0.8916 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.01659, allocations: 35.92 kB / 0.8917 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.0166, allocations: 4 kB / 0.8917 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01661, allocations: 7.938 kB / 0.8917 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01661, allocations: 4 kB / 0.8917 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01661, allocations: 0 / 0.8917 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.01693, allocations: 441.9 kB / 0.8921 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.01696, allocations: 31.7 kB / 0.8921 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.01699, allocations: 11.98 kB / 0.8921 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.01706, allocations: 16 kB / 0.8922 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01712, allocations: 31.89 kB / 0.8922 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01713, allocations: 8 kB / 0.8922 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001344/0.01726, allocations: 227 kB / 0.8924 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01726, allocations: 3.938 kB / 0.8924 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002796/0.01754, allocations: 95.89 kB / 0.8925 GB, free: 7.32 MB / 0.8542 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.0001669/0.01771, allocations: 125.2 kB / 0.8926 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006269/0.01834, allocations: 0.6843 MB / 0.8933 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01834, allocations: 0 / 0.8933 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01848, allocations: 127.5 kB / 0.8934 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.01889, allocations: 89.7 kB / 0.8935 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.01961, allocations: 0.5392 MB / 0.894 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.01967, allocations: 90 kB / 0.8941 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000104/0.01977, allocations: 67.23 kB / 0.8942 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.01983, allocations: 40.48 kB / 0.8942 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/0.01983, allocations: 0 / 0.8942 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of Templates: time 0.007569/0.0274, allocations: 5.901 MB / 0.9 GB, free: 15.66 MB / 0.8698 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.6189868280198425]