Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001657/0.001657, allocations: 103.6 kB / 15.98 MB, free: 6.34 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.001815/0.001815, allocations: 193.1 kB / 16.91 MB, free: 6.184 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.55 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3084, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002725/0.3112, allocations: 1.192 MB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3134, allocations: 1.513 MB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3135, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3137, allocations: 19.78 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3138, allocations: 39.66 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.315, allocations: 467.4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007/0.3158, allocations: 0.6167 MB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.3161, allocations: 140.5 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.3164, allocations: 231.4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3167, allocations: 187.3 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3168, allocations: 60 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3169, allocations: 71.98 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3171, allocations: 75.75 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.3174, allocations: 234.9 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.318, allocations: 487.2 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.318, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.318, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.318, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 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.001152/0.3192, allocations: 0.7394 MB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3192, allocations: 8.031 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3193, allocations: 48.55 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.3204, allocations: 407.9 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.3205, allocations: 20.81 kB / 1.071 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.3205, allocations: 40.36 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.321, allocations: 255.7 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.321, allocations: 3.938 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.321, allocations: 8 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.321, allocations: 4 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.3213, allocations: 157.7 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3228, allocations: 0.8529 MB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.3231, allocations: 218.7 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.3234, allocations: 212.7 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3234, allocations: 4 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.3238, allocations: 239.8 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3238, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0007162/0.3246, allocations: 430.9 kB / 1.073 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.3247, allocations: 118.7 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.3251, allocations: 324.4 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.3252, allocations: 37.7 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3253, allocations: 184.4 kB / 1.073 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3255, allocations: 55.3 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.3257, allocations: 145.9 kB / 1.074 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3259, allocations: 346.8 kB / 1.074 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.3263, allocations: 204.7 kB / 1.074 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.3268, allocations: 328.9 kB / 1.075 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.3275, allocations: 0.5349 MB / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3275, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001159/0.3287, allocations: 0.7324 MB / 1.076 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3288, allocations: 126.8 kB / 1.076 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3288, allocations: 7.938 kB / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3289, allocations: 4 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3291, allocations: 59.91 kB / 1.076 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3291, allocations: 7.938 kB / 1.076 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.3297, allocations: 139.6 kB / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.3298, allocations: 67.86 kB / 1.076 GB, free: 2.383 MB / 0.8419 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.000237/0.3301, allocations: 203.4 kB / 1.076 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.3301, allocations: 31.62 kB / 1.076 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.3307, allocations: 365.4 kB / 1.077 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3307, allocations: 4 kB / 1.077 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3307, allocations: 7.938 kB / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3307, allocations: 3.984 kB / 1.077 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.3317, allocations: 0.7402 MB / 1.077 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3317, allocations: 0 / 1.077 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3319, allocations: 43.86 kB / 1.077 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3319, allocations: 8 kB / 1.078 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3319, allocations: 15.92 kB / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3319, allocations: 0 / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3319, allocations: 0 / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.3325, allocations: 427.5 kB / 1.078 GB, free: 480 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3326, allocations: 108.6 kB / 1.078 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.3326, allocations: 4 kB / 1.078 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3328, allocations: 11.98 kB / 1.078 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.3328, allocations: 27.97 kB / 1.078 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3328, allocations: 12 kB / 1.078 GB, free: 296 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002156/0.3331, allocations: 211.1 kB / 1.078 GB, free: 88 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3331, allocations: 0 / 1.078 GB, free: 88 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.4273/0.7604, allocations: 102.6 kB / 1.078 GB, free: 22.23 MB / 0.8419 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.0002604/0.7607, allocations: 119 kB / 1.078 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.7619, allocations: 0.7126 MB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7619, allocations: 0.6094 kB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.7621, allocations: 148.2 kB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.7627, allocations: 81.42 kB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.7636, allocations: 0.6841 MB / 1.08 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.7639, allocations: 0.778 MB / 1.081 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.7639, allocations: 40.08 kB / 1.081 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.764, allocations: 0 / 1.081 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.008885/0.7728, allocations: 4.953 MB / 1.086 GB, free: 20.45 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches