Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001748/0.001748, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001778/0.001778, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 66.56 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.32, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00256/0.3226, allocations: 1.152 MB / 0.9523 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3246, allocations: 1.514 MB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.3247, allocations: 11.88 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3248, allocations: 31.61 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.808e-05/0.325, allocations: 55.5 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.326, allocations: 494 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.3266, allocations: 0.6167 MB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.3269, allocations: 152.4 kB / 0.9551 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.3271, allocations: 227.5 kB / 0.9553 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3274, allocations: 215.2 kB / 0.9555 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.3275, allocations: 60 kB / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3276, allocations: 68 kB / 0.9556 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.3277, allocations: 75.7 kB / 0.9557 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3279, allocations: 231 kB / 0.9559 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.3285, allocations: 0.6308 MB / 0.9565 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3285, allocations: 0 / 0.9565 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3285, allocations: 0 / 0.9565 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.3286, allocations: 4 kB / 0.9565 GB, free: 2.52 MB / 0.7325 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.0009628/0.3295, allocations: 0.7394 MB / 0.9572 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3296, allocations: 12.03 kB / 0.9572 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3297, allocations: 48.47 kB / 0.9573 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.3307, allocations: 396 kB / 0.9577 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3307, allocations: 28.8 kB / 0.9577 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.3308, allocations: 36.38 kB / 0.9577 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.3312, allocations: 259.1 kB / 0.958 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3313, allocations: 0 / 0.958 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.3313, allocations: 8 kB / 0.958 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3313, allocations: 4 kB / 0.958 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.3316, allocations: 161.7 kB / 0.9581 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3331, allocations: 0.8412 MB / 0.959 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3334, allocations: 226.7 kB / 0.9592 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.3337, allocations: 214.9 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3337, allocations: 3.938 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.3341, allocations: 247.9 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3341, allocations: 0 / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.0006876/0.3348, allocations: 438.9 kB / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.3349, allocations: 114.8 kB / 0.9602 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.3352, allocations: 328.3 kB / 0.9605 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.3352, allocations: 37.7 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3354, allocations: 180.6 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.3355, allocations: 63.19 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.3357, allocations: 141.9 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3359, allocations: 346.8 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.3362, allocations: 208.7 kB / 0.9614 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.3367, allocations: 332.6 kB / 0.9617 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.3374, allocations: 0.5349 MB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3374, allocations: 0 / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001091/0.3385, allocations: 0.7328 MB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/0.3386, allocations: 126.7 kB / 0.9631 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3386, allocations: 4 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3386, allocations: 7.938 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3388, allocations: 63.84 kB / 0.9631 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3388, allocations: 4 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.3395, allocations: 131.7 kB / 0.9633 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3396, allocations: 71.86 kB / 0.9633 GB, free: 11.07 MB / 0.7481 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.0002284/0.3398, allocations: 189.7 kB / 0.9635 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3399, allocations: 31.62 kB / 0.9636 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.3404, allocations: 369.9 kB / 0.9639 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3405, allocations: 0 / 0.9639 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3405, allocations: 4 kB / 0.9639 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3405, allocations: 0 / 0.9639 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/0.3414, allocations: 0.7524 MB / 0.9646 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3414, allocations: 0 / 0.9646 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.3415, allocations: 35.98 kB / 0.9647 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3416, allocations: 3.984 kB / 0.9647 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3416, allocations: 8 kB / 0.9647 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3416, allocations: 3.938 kB / 0.9647 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3416, allocations: 0 / 0.9647 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.3421, allocations: 436.6 kB / 0.9651 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.3422, allocations: 108.6 kB / 0.9652 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3422, allocations: 8 kB / 0.9652 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3423, allocations: 11.98 kB / 0.9652 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3424, allocations: 19.97 kB / 0.9653 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3424, allocations: 16 kB / 0.9653 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002191/0.3427, allocations: 215.1 kB / 0.9655 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3427, allocations: 0 / 0.9655 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000425/0.3431, allocations: 95.92 kB / 0.9656 GB, free: 8.688 MB / 0.7481 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.0002124/0.3433, allocations: 129.4 kB / 0.9657 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.3442, allocations: 0.6779 MB / 0.9664 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3442, allocations: 0 / 0.9664 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3444, allocations: 151.9 kB / 0.9665 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.3449, allocations: 74.7 kB / 0.9666 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.3458, allocations: 0.5714 MB / 0.9671 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3462, allocations: 0.7885 MB / 0.9679 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.3463, allocations: 67.23 kB / 0.968 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3464, allocations: 43.42 kB / 0.968 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3464, allocations: 0 / 0.968 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of Templates: time 0.009749/0.3562, allocations: 5.483 MB / 0.9734 GB, free: 0.6602 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches