Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001729/0.001729, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001973/0.001973, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.742 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 62.2 kB / 0.9081 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002434/0.3213, allocations: 0.9198 MB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3231, allocations: 1.295 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.3232, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3234, allocations: 19.86 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.3235, allocations: 23.84 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.3243, allocations: 242 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.3247, allocations: 339.4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.3249, allocations: 57.45 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.325, allocations: 135.6 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.3253, allocations: 119.6 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3253, allocations: 32 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.3255, allocations: 43.98 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.3255, allocations: 47.84 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3257, allocations: 123.4 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.326, allocations: 319.3 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.326, allocations: 4 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3261, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3261, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 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.0007219/0.3268, allocations: 0.537 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3268, allocations: 12.03 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.3269, allocations: 24.75 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.3276, allocations: 300 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3277, allocations: 16.36 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3277, allocations: 16.38 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.328, allocations: 149.6 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.328, allocations: 3.938 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.328, allocations: 8 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.328, allocations: 7.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3281, allocations: 63.89 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.329, allocations: 0.7507 MB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.3291, allocations: 57.19 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.3292, allocations: 29.77 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3292, allocations: 8 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3294, allocations: 100.9 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3294, allocations: 3.938 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002959/0.3297, allocations: 125.4 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.3297, allocations: 85.11 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.33, allocations: 211.6 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.33, allocations: 33.7 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3301, allocations: 143.8 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.3302, allocations: 15.81 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3303, allocations: 61.67 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3304, allocations: 326.8 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3306, allocations: 63.95 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3307, allocations: 118.8 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.331, allocations: 198.1 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.331, allocations: 4 kB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004811/0.3315, allocations: 296.6 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.3316, allocations: 71.39 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3316, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3316, allocations: 8.188 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.3317, allocations: 8 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3317, allocations: 3.938 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.332, allocations: 55.78 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.332, allocations: 15.98 kB / 1.071 GB, free: 6.668 MB / 0.8262 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.0001574/0.3322, allocations: 150.9 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3322, allocations: 19.75 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.3323, allocations: 20.92 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3323, allocations: 0 / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3323, allocations: 4 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3323, allocations: 0 / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3325, allocations: 233.5 kB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3325, allocations: 0 / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.3326, allocations: 7.938 kB / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3326, allocations: 0 / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3326, allocations: 8 kB / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3326, allocations: 7.984 kB / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3326, allocations: 0 / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3328, allocations: 129.7 kB / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.3329, allocations: 88.92 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3329, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.918e-05/0.3329, allocations: 480 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.333, allocations: 11.98 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.333, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3331, allocations: 149.5 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3331, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002569/0.3334, allocations: 51.86 kB / 1.072 GB, free: 5.703 MB / 0.8262 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.0001752/0.3336, allocations: 100.2 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.334, allocations: 262.9 kB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.334, allocations: 7.938 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.334, allocations: 27.98 kB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3343, allocations: 33.17 kB / 1.072 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.3349, allocations: 360.8 kB / 1.072 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3353, allocations: 0.7241 MB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.67e-05/0.3354, allocations: 21.53 kB / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3354, allocations: 19.44 kB / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3354, allocations: 0 / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.005787/0.3412, allocations: 2.369 MB / 1.076 GB, free: 1.73 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches