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.001251/0.001251, allocations: 89.06 kB / 19.65 MB, free: 272 kB / 13.93 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.02 MB, free: 1.543 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.045/1.045, allocations: 177.1 MB / 203.4 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.188/2.188, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.525e-06/2.525e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.476e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001861/0.001896, allocations: 1.143 MB / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003551, allocations: 1.563 MB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.003648, allocations: 7.938 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.003797, allocations: 32.95 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003899, allocations: 67.5 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.004748, allocations: 483.9 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.005201, allocations: 0.5932 MB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.005415, allocations: 97.64 kB / 0.8821 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.005673, allocations: 335.4 kB / 0.8824 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.005868, allocations: 173.1 kB / 0.8825 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.005934, allocations: 60 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.985e-05/0.006034, allocations: 71.98 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.006111, allocations: 83.61 kB / 0.8827 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.006253, allocations: 174.2 kB / 0.8829 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.006643, allocations: 438.8 kB / 0.8833 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.006646, allocations: 0 / 0.8833 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006647, allocations: 3.938 kB / 0.8833 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.006653, allocations: 0 / 0.8833 GB, free: 1.008 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.0007351/0.007388, allocations: 0.7716 MB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.00743, allocations: 12.03 kB / 0.8841 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.007537, allocations: 70.69 kB / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.008139, allocations: 316.1 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.008174, allocations: 25.59 kB / 0.8845 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.008231, allocations: 36.38 kB / 0.8845 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.008545, allocations: 355.4 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.00856, allocations: 4.172 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.008579, allocations: 8.375 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.00859, allocations: 8.125 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.00873, allocations: 114.9 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.00962, allocations: 0.7366 MB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.009834, allocations: 159.2 kB / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/0.009929, allocations: 87.64 kB / 0.886 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.009941, allocations: 7.984 kB / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.01021, allocations: 330 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/0.01021, allocations: 0 / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0004622/0.01067, allocations: 372 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.01073, allocations: 110.8 kB / 0.8867 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.01097, allocations: 370 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.01101, allocations: 37.7 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01114, allocations: 227.4 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.01118, allocations: 67.53 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.01133, allocations: 151.7 kB / 0.8876 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01147, allocations: 0.5157 MB / 0.8881 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.01174, allocations: 283.6 kB / 0.8883 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.01208, allocations: 0.4969 MB / 0.8888 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.01248, allocations: 0.4955 MB / 0.8893 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01249, allocations: 0 / 0.8893 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007893/0.01328, allocations: 0.8096 MB / 0.8901 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/0.01337, allocations: 126.7 kB / 0.8902 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.01338, allocations: 4 kB / 0.8902 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.0134, allocations: 4 kB / 0.8902 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.01355, allocations: 60.31 kB / 0.8903 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01356, allocations: 8 kB / 0.8903 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.01384, allocations: 103.7 kB / 0.8904 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.01392, allocations: 67.86 kB / 0.8904 GB, free: 9.133 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.0001522/0.01407, allocations: 220.4 kB / 0.8907 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.01411, allocations: 39.81 kB / 0.8907 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.01449, allocations: 308.5 kB / 0.891 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.0145, allocations: 3.938 kB / 0.891 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.0145, allocations: 4 kB / 0.891 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.0145, allocations: 3.984 kB / 0.891 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.01512, allocations: 0.6662 MB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01512, allocations: 0 / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.0152, allocations: 35.97 kB / 0.8917 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01521, allocations: 7.938 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01522, allocations: 4 kB / 0.8917 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.01523, allocations: 7.984 kB / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01523, allocations: 0 / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.01555, allocations: 437.9 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.01558, allocations: 35.69 kB / 0.8922 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01561, allocations: 8 kB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.01568, allocations: 12 kB / 0.8922 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.01573, allocations: 27.89 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.01575, allocations: 12 kB / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001334/0.01588, allocations: 227 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01588, allocations: 0 / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002949/0.01618, allocations: 95.89 kB / 0.8925 GB, free: 6.938 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.0001786/0.01635, allocations: 125.2 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.01694, allocations: 0.6882 MB / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01694, allocations: 0 / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01706, allocations: 119.5 kB / 0.8934 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.01741, allocations: 94.45 kB / 0.8935 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.01816, allocations: 0.5431 MB / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.01822, allocations: 90 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.01833, allocations: 67.23 kB / 0.8942 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.01839, allocations: 40.48 kB / 0.8942 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/0.01839, allocations: 0 / 0.8942 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of Templates: time 0.008297/0.02669, allocations: 5.893 MB / 0.9 GB, free: 15.28 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.843524983152747]