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.001045/0.001045, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001178/0.001178, allocations: 169 kB / 24.06 MB, free: 456 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 3.025e-06/3.025e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.954e-05, allocations: 5.469 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002493/0.002532, allocations: 1.113 MB / 0.8805 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.005034, allocations: 1.56 MB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.005197, allocations: 4 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.005426, allocations: 29.42 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.005552, allocations: 75.55 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.006669, allocations: 482.9 kB / 0.8826 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.00726, allocations: 0.601 MB / 0.8832 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.0076, allocations: 94.91 kB / 0.8833 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.008013, allocations: 351.4 kB / 0.8836 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.008287, allocations: 160.8 kB / 0.8837 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.008358, allocations: 49.59 kB / 0.8838 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.008485, allocations: 52 kB / 0.8838 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.00858, allocations: 75.69 kB / 0.8839 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.00873, allocations: 151.7 kB / 0.8841 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.009202, allocations: 388.9 kB / 0.8844 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.009209, allocations: 0 / 0.8844 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.364e-06/0.009212, allocations: 0 / 0.8844 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.009221, allocations: 0 / 0.8844 GB, free: 0.8789 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.0009831/0.0102, allocations: 0.7715 MB / 0.8852 GB, free: 44 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.01026, allocations: 18.52 kB / 0.8852 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.01039, allocations: 64.75 kB / 0.8853 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.01074, allocations: 271.4 kB / 0.8855 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.0108, allocations: 24.88 kB / 0.8855 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.01085, allocations: 36.38 kB / 0.8856 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.01118, allocations: 305.8 kB / 0.8859 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.0112, allocations: 4.188 kB / 0.8859 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.01122, allocations: 8.375 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01123, allocations: 4.375 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01133, allocations: 75.38 kB / 0.886 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01255, allocations: 0.6697 MB / 0.8866 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.01275, allocations: 123.1 kB / 0.8867 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.01282, allocations: 65.17 kB / 0.8868 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01284, allocations: 7.984 kB / 0.8868 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.01312, allocations: 309.7 kB / 0.8871 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.01313, allocations: 3.938 kB / 0.8871 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0004165/0.01354, allocations: 279.2 kB / 0.8874 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.01361, allocations: 114.8 kB / 0.8875 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01386, allocations: 357.9 kB / 0.8878 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.0139, allocations: 37.7 kB / 0.8879 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.01406, allocations: 235.4 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.01411, allocations: 67.5 kB / 0.8881 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.01428, allocations: 151.6 kB / 0.8883 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.01448, allocations: 0.5234 MB / 0.8888 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.0147, allocations: 239.6 kB / 0.889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.01503, allocations: 456.8 kB / 0.8895 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.01542, allocations: 443.3 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01543, allocations: 0 / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007331/0.01616, allocations: 0.7199 MB / 0.8906 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/0.01626, allocations: 134.8 kB / 0.8907 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.01627, allocations: 4 kB / 0.8907 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01629, allocations: 8 kB / 0.8907 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.01645, allocations: 59.84 kB / 0.8908 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.01646, allocations: 12 kB / 0.8908 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.01679, allocations: 111.8 kB / 0.8909 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.01687, allocations: 63.86 kB / 0.891 GB, free: 9.586 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,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.0001947/0.01706, allocations: 212.4 kB / 0.8912 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.01712, allocations: 39.81 kB / 0.8912 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.01748, allocations: 252.6 kB / 0.8914 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.01748, allocations: 4 kB / 0.8914 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01749, allocations: 0 / 0.8914 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01749, allocations: 3.938 kB / 0.8914 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.01813, allocations: 0.5691 MB / 0.892 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.01814, allocations: 3.984 kB / 0.892 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.01824, allocations: 31.98 kB / 0.892 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01824, allocations: 4 kB / 0.892 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01826, allocations: 8 kB / 0.8921 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.01826, allocations: 4 kB / 0.8921 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01826, allocations: 3.938 kB / 0.8921 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01857, allocations: 385.9 kB / 0.8924 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.01861, allocations: 35.69 kB / 0.8925 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01863, allocations: 8 kB / 0.8925 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.01872, allocations: 8 kB / 0.8925 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.01877, allocations: 23.95 kB / 0.8925 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01879, allocations: 8 kB / 0.8925 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001219/0.01891, allocations: 218.9 kB / 0.8927 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01891, allocations: 4 kB / 0.8927 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00034/0.01925, allocations: 95.89 kB / 0.8928 GB, free: 7.633 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.0004605/0.01971, allocations: 125.1 kB / 0.8929 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.02044, allocations: 0.6302 MB / 0.8935 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.02045, allocations: 4.062 kB / 0.8935 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.02055, allocations: 95.48 kB / 0.8936 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.02098, allocations: 89.03 kB / 0.8937 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.02175, allocations: 0.504 MB / 0.8942 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.02183, allocations: 97.98 kB / 0.8943 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.911e-05/0.02193, allocations: 47.27 kB / 0.8944 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.02221, allocations: 202.1 kB / 0.8945 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.02221, allocations: 0 / 0.8945 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of Templates: time 0.01074/0.03295, allocations: 6.438 MB / 0.9008 GB, free: 15.41 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.965221501886845]