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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001643/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00209/0.00209, allocations: 195.4 kB / 16.14 MB, free: 6.648 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.55 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3015, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002225/0.3038, allocations: 0.918 MB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3055, allocations: 1.338 MB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.3056, allocations: 3.938 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.3057, allocations: 11.86 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.3058, allocations: 23.8 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.3064, allocations: 253.4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3067, allocations: 279.5 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3068, allocations: 57.45 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.307, allocations: 115.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.3072, allocations: 119.5 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.3073, allocations: 12 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.3074, allocations: 23.98 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.3074, allocations: 43.84 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3076, allocations: 95.5 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3079, allocations: 315.3 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3079, allocations: 4 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3079, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3079, allocations: 0 / 1.056 GB, free: 5.27 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.0006023/0.3085, allocations: 0.5371 MB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3085, allocations: 16.02 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.3086, allocations: 24.66 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.3092, allocations: 292 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3093, allocations: 16.38 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3093, allocations: 20.38 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.3095, allocations: 147.1 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3096, allocations: 3.938 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3096, allocations: 7.984 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3096, allocations: 4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3097, allocations: 63.84 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.3104, allocations: 0.7623 MB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.3105, allocations: 61.17 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.3106, allocations: 21.78 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3106, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3108, allocations: 104.9 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3108, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002709/0.3111, allocations: 121.6 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3111, allocations: 81.05 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3113, allocations: 219.5 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3114, allocations: 37.7 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3115, allocations: 135.8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.3115, allocations: 23.78 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.3116, allocations: 57.69 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3117, allocations: 330.8 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3119, allocations: 63.97 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.312, allocations: 118.8 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.3122, allocations: 194.1 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3123, allocations: 8 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004641/0.3127, allocations: 292.6 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.3128, allocations: 72.95 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3128, allocations: 0 / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3128, allocations: 4 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.3129, allocations: 11.98 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3129, allocations: 3.984 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3132, allocations: 56.06 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3133, allocations: 16.47 kB / 1.059 GB, free: 1.02 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.0001405/0.3134, allocations: 154.8 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3134, allocations: 15.81 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.3135, allocations: 16.92 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3135, allocations: 4 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3135, allocations: 4 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3135, allocations: 0 / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3137, allocations: 241.4 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3137, allocations: 0 / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.3137, allocations: 7.984 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3137, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3138, allocations: 4 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3138, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3138, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3139, allocations: 141.7 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.314, allocations: 88.92 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.314, allocations: 7.922 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.3141, allocations: 0 / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.3141, allocations: 4 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3141, allocations: 11.98 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3142, allocations: 141.5 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3142, allocations: 4 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002669/0.3145, allocations: 47.84 kB / 1.06 GB, free: 52 kB / 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.0001465/0.3146, allocations: 103.2 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.315, allocations: 258.6 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.315, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.3151, allocations: 35.92 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3154, allocations: 32.3 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.3159, allocations: 346.6 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3161, allocations: 0.736 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.3162, allocations: 21.53 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3162, allocations: 15.44 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3162, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.004923/0.3212, allocations: 2.291 MB / 1.064 GB, free: 12.17 MB / 0.8262 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 -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/jenkins/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