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.001384/0.001384, allocations: 107.8 kB / 15.99 MB, free: 6.348 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.001488/0.001488, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.484/1.484, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.401/2.401, allocations: 437 MB / 0.7107 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 72.7 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002784/0.3077, allocations: 1.196 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3099, allocations: 1.502 MB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.31, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3102, allocations: 23.8 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.3104, allocations: 47.62 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3116, allocations: 451.4 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.3124, allocations: 0.6244 MB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3127, allocations: 156.3 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.313, allocations: 227.5 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.3133, allocations: 191.2 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.3134, allocations: 60 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3136, allocations: 71.98 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.3137, allocations: 75.7 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.3139, allocations: 231 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.3144, allocations: 479.2 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3144, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3144, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.3145, allocations: 0 / 1.023 GB, free: 5.695 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.001115/0.3156, allocations: 0.7495 MB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3156, allocations: 8.922 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3158, allocations: 48.47 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3168, allocations: 411.8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.3169, allocations: 24.81 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.317, allocations: 36.38 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3174, allocations: 251.8 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3174, allocations: 3.938 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.3174, allocations: 8 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3174, allocations: 4 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.3177, allocations: 157.7 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.319, allocations: 0.853 MB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3193, allocations: 229.3 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.3196, allocations: 208.6 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3196, allocations: 0 / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.3199, allocations: 252.5 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 2.926e-06/0.3199, allocations: 3.984 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0006727/0.3206, allocations: 439.1 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3207, allocations: 114.7 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.321, allocations: 316.4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.3211, allocations: 41.7 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3213, allocations: 180.5 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.3213, allocations: 67.19 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.3216, allocations: 145.9 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3217, allocations: 342.8 kB / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.3221, allocations: 204.7 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.3225, allocations: 328.9 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.3232, allocations: 0.5311 MB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3232, allocations: 0 / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001129/0.3243, allocations: 0.7322 MB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.3244, allocations: 130.7 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3244, allocations: 4.406 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3245, allocations: 12 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3247, allocations: 55.91 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3247, allocations: 11.94 kB / 1.029 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.3254, allocations: 131.5 kB / 1.029 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3255, allocations: 67.86 kB / 1.029 GB, free: 14.24 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.0002153/0.3257, allocations: 185.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.3258, allocations: 31.62 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.3263, allocations: 365.2 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3263, allocations: 4 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3263, allocations: 3.938 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3264, allocations: 0 / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.3272, allocations: 0.7565 MB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3272, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3274, allocations: 43.86 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3274, allocations: 4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3274, allocations: 4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3274, allocations: 7.938 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3274, allocations: 4 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.3279, allocations: 428.3 kB / 1.031 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.328, allocations: 112.5 kB / 1.031 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.328, allocations: 11.98 kB / 1.031 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3282, allocations: 8 kB / 1.031 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3282, allocations: 23.97 kB / 1.031 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3283, allocations: 15.98 kB / 1.031 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001996/0.3285, allocations: 215 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3285, allocations: 4 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004177/0.3289, allocations: 95.94 kB / 1.032 GB, free: 11.85 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.0001811/0.3291, allocations: 121.5 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.33, allocations: 0.7088 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3301, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3303, allocations: 155.8 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.3308, allocations: 77.17 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.3317, allocations: 0.6822 MB / 1.033 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3321, allocations: 0.7808 MB / 1.034 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.3322, allocations: 35.44 kB / 1.034 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/0.3322, allocations: 0 / 1.034 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of Templates: time 0.007647/0.3398, allocations: 4.962 MB / 1.039 GB, free: 4.254 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 -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