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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 196 kB / 16.53 MB, free: 6.699 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.839/2.839, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.94 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2642, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002239/0.2665, allocations: 0.8704 MB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.2683, allocations: 1.293 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.2684, allocations: 11.88 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2685, allocations: 11.81 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.2686, allocations: 27.78 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.2693, allocations: 257.6 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.2697, allocations: 343.4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.2699, allocations: 57.47 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2701, allocations: 127.7 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.2703, allocations: 119.6 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.2704, allocations: 28 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.2705, allocations: 43.98 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.2706, allocations: 47.84 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2707, allocations: 111.5 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.2711, allocations: 331.3 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2711, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2711, allocations: 3.938 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.2711, allocations: 0 / 1.068 GB, free: 10.52 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.0007133/0.2719, allocations: 0.5502 MB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2719, allocations: 8.031 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.272, allocations: 46.73 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.272, allocations: 24.75 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.2727, allocations: 296 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.2728, allocations: 12.38 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.2728, allocations: 20.31 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.2731, allocations: 149.4 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2731, allocations: 4 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2731, allocations: 4 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2731, allocations: 11.94 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2733, allocations: 67.91 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.2741, allocations: 0.7545 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2742, allocations: 61.23 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.2743, allocations: 25.77 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2743, allocations: 0 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.2745, allocations: 104.9 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002921/0.2748, allocations: 125.4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2749, allocations: 85.09 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.2751, allocations: 215.6 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.2751, allocations: 33.7 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2753, allocations: 139.8 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2753, allocations: 15.8 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.2754, allocations: 65.67 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2755, allocations: 326.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2757, allocations: 67.97 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2759, allocations: 114.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.2761, allocations: 198.1 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2762, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005186/0.2767, allocations: 296.6 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.2767, allocations: 63.41 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2768, allocations: 4 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2768, allocations: 3.984 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.2768, allocations: 8.188 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2768, allocations: 11.94 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.2772, allocations: 59.78 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2773, allocations: 19.98 kB / 1.072 GB, free: 6.195 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.0001444/0.2774, allocations: 146.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2774, allocations: 19.81 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.2775, allocations: 16.92 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2775, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2775, allocations: 3.938 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2775, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2777, allocations: 233.5 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2777, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.2778, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2778, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2778, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2778, allocations: 3.938 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2778, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.278, allocations: 137.7 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.2781, allocations: 92.91 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2781, allocations: 4 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.2781, allocations: 0 / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.2782, allocations: 11.98 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2782, allocations: 4 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001271/0.2783, allocations: 141.5 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2783, allocations: 0 / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002728/0.2786, allocations: 43.94 kB / 1.072 GB, free: 5.246 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.0005295/0.2791, allocations: 0.6821 MB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.2795, allocations: 262.6 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2796, allocations: 0 / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.2796, allocations: 31.98 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2799, allocations: 44.42 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.2827, allocations: 2.168 MB / 1.075 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.283, allocations: 0.728 MB / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.2831, allocations: 21.53 kB / 1.076 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.2832, allocations: 55.42 kB / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2832, allocations: 0 / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3087, allocations: 4.163 MB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.125, allocations: 9.547 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/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