Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 106.3 kB / 16.37 MB, free: 6.477 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.001097/0.001097, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.18 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 67.44 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002253/0.3342, allocations: 0.8717 MB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3359, allocations: 1.288 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.336, allocations: 4 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3361, allocations: 19.73 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.3362, allocations: 35.72 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.3371, allocations: 266.4 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.3375, allocations: 343.4 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.3377, allocations: 57.48 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3379, allocations: 131.7 kB / 0.9541 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3382, allocations: 103.6 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.3382, allocations: 28 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3383, allocations: 55.97 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.3384, allocations: 51.8 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3386, allocations: 119.5 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3389, allocations: 346.9 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.339, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.339, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.339, allocations: 0 / 0.9547 GB, free: 4.293 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006664/0.3396, allocations: 0.5565 MB / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3397, allocations: 8.031 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.3398, allocations: 28.66 kB / 0.9553 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.3403, allocations: 296 kB / 0.9556 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3404, allocations: 16.38 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.3404, allocations: 16.38 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3406, allocations: 156.4 kB / 0.9558 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3407, allocations: 0 / 0.9558 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3407, allocations: 8 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3407, allocations: 4 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3408, allocations: 67.91 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.3415, allocations: 0.7506 MB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.3416, allocations: 61.25 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.3417, allocations: 25.77 kB / 0.9567 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3417, allocations: 0 / 0.9567 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3419, allocations: 105 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.3419, allocations: 0 / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0002708/0.3422, allocations: 129.4 kB / 0.9569 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3423, allocations: 81.11 kB / 0.957 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3424, allocations: 219.5 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3425, allocations: 33.7 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3426, allocations: 148.1 kB / 0.9574 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3427, allocations: 19.81 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3428, allocations: 61.67 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3429, allocations: 330.8 kB / 0.9578 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3431, allocations: 67.95 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3432, allocations: 140.5 kB / 0.958 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3435, allocations: 186.2 kB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3435, allocations: 4.031 kB / 0.9581 GB, free: 480 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004708/0.3439, allocations: 300.6 kB / 0.9584 GB, free: 160 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.344, allocations: 63.41 kB / 0.9585 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.344, allocations: 0 / 0.9585 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.344, allocations: 4 kB / 0.9585 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.3441, allocations: 15.92 kB / 0.9585 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3441, allocations: 4 kB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3445, allocations: 72.05 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.3445, allocations: 11.98 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001405/0.3447, allocations: 145.8 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3447, allocations: 15.81 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.3448, allocations: 20.86 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3448, allocations: 8 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3448, allocations: 0 / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3448, allocations: 0 / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.345, allocations: 237.5 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.345, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.345, allocations: 7.938 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.345, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.345, allocations: 4 kB / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.345, allocations: 0 / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.345, allocations: 0 / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3452, allocations: 137.7 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3453, allocations: 96.84 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3453, allocations: 4 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.3453, allocations: 4 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3454, allocations: 11.92 kB / 0.9592 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3454, allocations: 0 / 0.9592 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001095/0.3455, allocations: 145.5 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3455, allocations: 4 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002583/0.3458, allocations: 47.78 kB / 0.9594 GB, free: 15.01 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001529/0.3459, allocations: 112.2 kB / 0.9595 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.3463, allocations: 254.7 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3463, allocations: 0 / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.3464, allocations: 35.92 kB / 0.9598 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3467, allocations: 37.19 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.3472, allocations: 307.3 kB / 0.9601 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3475, allocations: 0.7358 MB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.561e-05/0.3476, allocations: 25.47 kB / 0.9609 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.3477, allocations: 19.44 kB / 0.9609 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.3477, allocations: 0 / 0.9609 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.005692/0.3534, allocations: 2.522 MB / 0.9634 GB, free: 10.93 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches