Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001122/0.001122, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001168/0.001168, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.57/2.57, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 75.94 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002399/0.3511, allocations: 0.8825 MB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3529, allocations: 1.3 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.353, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.3531, allocations: 19.75 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.3532, allocations: 31.77 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.3539, allocations: 266.5 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.3543, allocations: 339.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3544, allocations: 69.39 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3546, allocations: 123.7 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3548, allocations: 107.6 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.3548, allocations: 28 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.355, allocations: 59.91 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.355, allocations: 47.84 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.3552, allocations: 115.5 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.3556, allocations: 350.9 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3556, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3556, allocations: 3.938 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3556, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 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.0007513/0.3564, allocations: 0.5372 MB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3564, allocations: 8.031 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.3565, allocations: 36.64 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.3572, allocations: 300 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3572, allocations: 12.38 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.3573, allocations: 20.38 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3575, allocations: 147.5 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3575, allocations: 3.938 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3575, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.3576, allocations: 8 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3577, allocations: 67.89 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.3585, allocations: 0.7469 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3586, allocations: 65.14 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3587, allocations: 25.72 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3587, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3589, allocations: 105 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.454e-06/0.3589, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003124/0.3592, allocations: 133.5 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3593, allocations: 81.11 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3595, allocations: 215.6 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3596, allocations: 33.7 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3597, allocations: 140.2 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3597, allocations: 15.78 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3598, allocations: 73.67 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.36, allocations: 326.8 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3601, allocations: 59.97 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3603, allocations: 143.1 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3605, allocations: 206 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3605, allocations: 4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004697/0.361, allocations: 288.7 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.3611, allocations: 67.39 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3611, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3611, allocations: 4 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.3612, allocations: 15.94 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3612, allocations: 3.984 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.3616, allocations: 75.97 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3616, allocations: 11.98 kB / 1.034 GB, free: 10.05 MB / 0.8106 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.0001561/0.3618, allocations: 150.5 kB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3618, allocations: 15.89 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.3619, allocations: 12.94 kB / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3619, allocations: 4 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3619, allocations: 4 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3619, allocations: 0 / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3621, allocations: 237.4 kB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3621, allocations: 0 / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.3621, allocations: 4 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3621, allocations: 3.984 kB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3621, allocations: 4 kB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3621, allocations: 0 / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3621, allocations: 3.938 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3623, allocations: 149.6 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3624, allocations: 85.02 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3624, allocations: 3.984 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.3625, allocations: 4 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.3625, allocations: 4 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3625, allocations: 8 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001205/0.3626, allocations: 153.5 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3626, allocations: 4 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002622/0.3629, allocations: 47.84 kB / 1.035 GB, free: 9.07 MB / 0.8106 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.0001778/0.3631, allocations: 111.2 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.3635, allocations: 258.6 kB / 1.035 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3635, allocations: 0 / 1.035 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.3636, allocations: 27.98 kB / 1.035 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3638, allocations: 46.73 kB / 1.035 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3644, allocations: 297.5 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3647, allocations: 0.728 MB / 1.036 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.3648, allocations: 25.52 kB / 1.036 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.3648, allocations: 15.44 kB / 1.036 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3648, allocations: 0 / 1.036 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of Templates: time 0.005517/0.3703, allocations: 2.533 MB / 1.039 GB, free: 5 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches