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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00153/0.00153, allocations: 103.1 kB / 16.27 MB, free: 5.957 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.001538/0.001538, allocations: 188 kB / 17.19 MB, free: 5.59 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 73.67 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002685/0.3172, allocations: 1.147 MB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3194, allocations: 1.522 MB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.3195, allocations: 4 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3197, allocations: 31.61 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3198, allocations: 55.5 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.321, allocations: 487.2 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006737/0.3217, allocations: 0.6128 MB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.322, allocations: 160.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3223, allocations: 223.4 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3225, allocations: 191.3 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3226, allocations: 60 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3228, allocations: 79.98 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3229, allocations: 75.75 kB / 1.023 GB, free: 6.031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.3232, allocations: 227 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.3239, allocations: 0.604 MB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.3239, allocations: 8 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3239, allocations: 0 / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3239, allocations: 0 / 1.023 GB, free: 5.195 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.001111/0.325, allocations: 0.7395 MB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3251, allocations: 20.84 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3252, allocations: 44.47 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3263, allocations: 396 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.3263, allocations: 24.81 kB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.3264, allocations: 40.36 kB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.3269, allocations: 255.7 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3269, allocations: 3.938 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.3269, allocations: 15.94 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3269, allocations: 7.984 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3272, allocations: 157.7 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.3287, allocations: 0.8491 MB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3291, allocations: 226.6 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.3294, allocations: 204.7 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3294, allocations: 4 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.3297, allocations: 247.9 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3298, allocations: 3.938 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0007435/0.3305, allocations: 434.2 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.3306, allocations: 118.7 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.331, allocations: 320.4 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.331, allocations: 37.7 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3312, allocations: 180.5 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.3313, allocations: 63.19 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3315, allocations: 149.9 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3317, allocations: 342.8 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.3321, allocations: 204.7 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.3326, allocations: 324.9 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.3333, allocations: 0.535 MB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3333, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001192/0.3345, allocations: 0.7244 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3346, allocations: 127.2 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3347, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.3347, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3349, allocations: 59.91 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.3349, allocations: 7.938 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.3357, allocations: 131.5 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3358, allocations: 67.86 kB / 1.03 GB, free: 13.76 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.0002507/0.336, allocations: 189.7 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.3361, allocations: 35.62 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.3367, allocations: 361.2 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3367, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3367, allocations: 7.922 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3367, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3377, allocations: 0.7493 MB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3377, allocations: 3.938 kB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3379, allocations: 47.86 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.3379, allocations: 3.984 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3379, allocations: 8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3379, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3379, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.3385, allocations: 427.8 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.3386, allocations: 112.5 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.3386, allocations: 11.94 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3388, allocations: 11.98 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.3388, allocations: 27.97 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3389, allocations: 8 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002355/0.3391, allocations: 215.1 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3391, allocations: 4 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000424/0.3395, allocations: 95.92 kB / 1.032 GB, free: 11.36 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.0002044/0.3397, allocations: 125.4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.3408, allocations: 0.7047 MB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3408, allocations: 0 / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.3411, allocations: 155.8 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3416, allocations: 81.22 kB / 1.033 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3426, allocations: 0.6134 MB / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3431, allocations: 0.7769 MB / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.3431, allocations: 39.42 kB / 1.035 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3432, allocations: 0 / 1.035 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.008375/0.3515, allocations: 4.961 MB / 1.04 GB, free: 3.828 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=400 -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