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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007248/0.007247, allocations: 102 kB / 15.73 MB, free: 6.051 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.001416/0.001416, allocations: 195 kB / 16.68 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.62 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3568, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002/0.3588, allocations: 0.8722 MB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3605, allocations: 1.297 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.3606, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3607, allocations: 15.81 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.3608, allocations: 35.66 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.3615, allocations: 265.4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.3619, allocations: 343.4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3621, allocations: 61.39 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3622, allocations: 131.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3624, allocations: 107.6 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.3625, allocations: 32 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3626, allocations: 55.92 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.3627, allocations: 47.84 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3628, allocations: 119.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.3632, allocations: 343 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3632, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3632, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3632, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 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.0006783/0.3639, allocations: 0.541 MB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3639, allocations: 8.031 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.532e-05/0.364, allocations: 28.64 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.3646, allocations: 311.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.3647, allocations: 12.38 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.3647, allocations: 16.38 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3649, allocations: 152.9 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.365, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.365, allocations: 8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.365, allocations: 4 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3651, allocations: 63.89 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.3659, allocations: 0.7701 MB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.366, allocations: 53.2 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.366, allocations: 21.78 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.366, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3662, allocations: 108.9 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3662, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002819/0.3665, allocations: 129.4 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3666, allocations: 77.11 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3668, allocations: 215.7 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3668, allocations: 37.64 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3669, allocations: 136.2 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.367, allocations: 23.78 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3671, allocations: 69.67 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3672, allocations: 330.8 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3673, allocations: 59.97 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.3675, allocations: 140.5 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3678, allocations: 194.2 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3678, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005217/0.3683, allocations: 288.7 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.3684, allocations: 63.39 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3684, allocations: 4 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3684, allocations: 0 / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.3684, allocations: 11.94 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3685, allocations: 4 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3689, allocations: 79.08 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.3689, allocations: 19.98 kB / 1.095 GB, free: 9.461 MB / 0.8575 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.0001384/0.369, allocations: 150.4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3691, allocations: 15.81 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3691, allocations: 20.92 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3691, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3691, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3691, allocations: 8 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.3693, allocations: 233.5 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3694, allocations: 0 / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.3694, allocations: 4 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3694, allocations: 0 / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3694, allocations: 3.984 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3694, allocations: 4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3694, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3696, allocations: 145.6 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3696, allocations: 88.92 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3697, allocations: 7.875 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.3697, allocations: 3.984 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3697, allocations: 8 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3698, allocations: 4 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001186/0.3699, allocations: 153.5 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3699, allocations: 0 / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002592/0.3702, allocations: 47.88 kB / 1.096 GB, free: 8.488 MB / 0.8575 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.0001483/0.3703, allocations: 111.2 kB / 1.096 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.3707, allocations: 259.1 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3707, allocations: 0 / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.3708, allocations: 32.55 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.371, allocations: 36.16 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.3715, allocations: 304.7 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3718, allocations: 0.7241 MB / 1.098 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.3719, allocations: 25.53 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.372, allocations: 15.44 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.372, allocations: 0 / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of Templates: time 0.005659/0.3776, allocations: 2.61 MB / 1.1 GB, free: 4.332 MB / 0.8575 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 -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/jenkins/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