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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_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.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001355/0.001355, allocations: 191.9 kB / 16.14 MB, free: 6.727 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 62.47 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2853, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002411/0.2878, allocations: 0.9355 MB / 1.053 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2897, allocations: 1.326 MB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2899, allocations: 7.938 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.29, allocations: 11.92 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2901, allocations: 27.78 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.2909, allocations: 241.1 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.2913, allocations: 287.5 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2914, allocations: 57.41 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.2917, allocations: 111.7 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.292, allocations: 115.6 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.939e-05/0.2921, allocations: 12 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2922, allocations: 27.98 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.2923, allocations: 39.83 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.2925, allocations: 99.52 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.2928, allocations: 319.2 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2929, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2929, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.2929, allocations: 0 / 1.056 GB, free: 4.602 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.000785/0.2937, allocations: 0.5372 MB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2937, allocations: 11.97 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.2938, allocations: 50.67 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.2939, allocations: 28.66 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006842/0.2946, allocations: 296 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.2946, allocations: 12.38 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.2947, allocations: 20.38 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.2949, allocations: 151.3 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2949, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2949, allocations: 8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2949, allocations: 8 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2951, allocations: 63.91 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.2958, allocations: 0.7506 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.2959, allocations: 57.23 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.296, allocations: 25.77 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.296, allocations: 3.938 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.2962, allocations: 116.9 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2962, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002961/0.2965, allocations: 125.4 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2966, allocations: 77.11 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2968, allocations: 215.6 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.2968, allocations: 37.7 kB / 1.058 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2969, allocations: 139.8 kB / 1.058 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.297, allocations: 15.8 kB / 1.058 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2971, allocations: 61.69 kB / 1.058 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2972, allocations: 334.8 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2973, allocations: 63.97 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.2975, allocations: 114.8 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.2977, allocations: 194.1 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2977, allocations: 0 / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004693/0.2982, allocations: 300.6 kB / 1.059 GB, free: 472 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.2983, allocations: 59.41 kB / 1.059 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2983, allocations: 4 kB / 1.059 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2983, allocations: 7.938 kB / 1.059 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.2984, allocations: 8.172 kB / 1.059 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2984, allocations: 8 kB / 1.059 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.2987, allocations: 59.78 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2988, allocations: 15.98 kB / 1.06 GB, free: 296 kB / 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.0001369/0.2989, allocations: 153.7 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2989, allocations: 11.91 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.299, allocations: 16.94 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.299, allocations: 0 / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.299, allocations: 4 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.299, allocations: 3.984 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2992, allocations: 241.4 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2992, allocations: 4 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.2992, allocations: 4 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2993, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2993, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2993, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2993, allocations: 11.94 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.2995, allocations: 129.7 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2995, allocations: 89 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2995, allocations: 4 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.897e-05/0.2996, allocations: 0 / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.2996, allocations: 11.98 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2996, allocations: 8 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001126/0.2997, allocations: 149.4 kB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2997, allocations: 0 / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000263/0.3, allocations: 43.84 kB / 1.06 GB, free: 15.33 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.0004688/0.3005, allocations: 0.6833 MB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.3009, allocations: 259.1 kB / 1.061 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3009, allocations: 0 / 1.061 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.301, allocations: 32.17 kB / 1.061 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3013, allocations: 41.27 kB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3038, allocations: 2.191 MB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3041, allocations: 0.7283 MB / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.3042, allocations: 21.53 kB / 1.064 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.3042, allocations: 55.42 kB / 1.064 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3042, allocations: 0 / 1.064 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.3183, allocations: 3.969 MB / 1.068 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.3185, allocations: 228.6 kB / 1.068 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.036, allocations: 0 / 1.068 GB, free: 7.055 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > 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