Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 69 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2946, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002386/0.297, allocations: 1.147 MB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2989, allocations: 1.514 MB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.299, allocations: 4 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.2992, allocations: 31.61 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2993, allocations: 59.44 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3004, allocations: 495.5 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.301, allocations: 0.6167 MB / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3012, allocations: 160.3 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3014, allocations: 231.4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3017, allocations: 215.2 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.3018, allocations: 60 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.302, allocations: 71.98 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3021, allocations: 75.77 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.3023, allocations: 231 kB / 1.024 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.3029, allocations: 0.6231 MB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3029, allocations: 0 / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3029, allocations: 0 / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3029, allocations: 0 / 1.024 GB, free: 4.348 MB / 0.795 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.000885/0.3038, allocations: 0.7356 MB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3039, allocations: 16.92 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.304, allocations: 44.47 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.3049, allocations: 403.8 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.305, allocations: 28.8 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.305, allocations: 36.38 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.3055, allocations: 251.8 kB / 1.026 GB, free: 2.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3055, allocations: 3.938 kB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3055, allocations: 15.94 kB / 1.026 GB, free: 2.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3056, allocations: 7.984 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3058, allocations: 161.7 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3072, allocations: 0.8451 MB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3075, allocations: 222.7 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.3078, allocations: 212.6 kB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.3078, allocations: 0 / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3081, allocations: 247.8 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3081, allocations: 0 / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0006435/0.3088, allocations: 430.2 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.3088, allocations: 114.7 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3091, allocations: 320.4 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.3092, allocations: 41.7 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3094, allocations: 184.5 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.3094, allocations: 67.19 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3097, allocations: 141.9 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3098, allocations: 346.8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3102, allocations: 208.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.3106, allocations: 325 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.3112, allocations: 0.5272 MB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3112, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001061/0.3123, allocations: 0.7364 MB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.3124, allocations: 123.2 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3124, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3125, allocations: 7.984 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3127, allocations: 55.92 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.3127, allocations: 15.86 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.3133, allocations: 127.5 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3134, allocations: 67.92 kB / 1.031 GB, free: 12.91 MB / 0.8106 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.0002075/0.3136, allocations: 185.7 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3137, allocations: 39.56 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.3142, allocations: 357.3 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3142, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3142, allocations: 7.938 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3142, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.3151, allocations: 0.7501 MB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3151, allocations: 4 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3152, allocations: 43.84 kB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3152, allocations: 0 / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3152, allocations: 8 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3152, allocations: 3.938 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3153, allocations: 0 / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.3157, allocations: 437 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.3158, allocations: 120.4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.3159, allocations: 15.98 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.316, allocations: 8 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.316, allocations: 19.97 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3161, allocations: 12 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001994/0.3163, allocations: 219 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3163, allocations: 0 / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003997/0.3167, allocations: 87.94 kB / 1.033 GB, free: 10.53 MB / 0.8106 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.000205/0.3169, allocations: 129.4 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.3177, allocations: 0.6692 MB / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3177, allocations: 0 / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3179, allocations: 143.8 kB / 1.034 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3184, allocations: 83.8 kB / 1.034 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.3192, allocations: 0.5857 MB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3196, allocations: 0.7769 MB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.3197, allocations: 71.23 kB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3198, allocations: 39.42 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3198, allocations: 0 / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of Templates: time 0.009564/0.3294, allocations: 5.486 MB / 1.041 GB, free: 2.512 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches