Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 220.9 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 65.08 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002443/0.3721, allocations: 0.8434 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.3742, allocations: 1.315 MB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.3743, allocations: 7.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.3744, allocations: 15.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.508e-05/0.3745, allocations: 39.72 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.3754, allocations: 265.8 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.3758, allocations: 323.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.376, allocations: 49.52 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3762, allocations: 135.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3764, allocations: 103.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.3765, allocations: 32 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3766, allocations: 40 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3767, allocations: 55.77 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3769, allocations: 95.58 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.3774, allocations: 362.7 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3774, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.147e-06/0.3774, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3774, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 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.0008202/0.3783, allocations: 480.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3783, allocations: 8.031 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.3783, allocations: 46.69 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.3787, allocations: 60.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.3794, allocations: 242.6 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3794, allocations: 12.38 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.3794, allocations: 20.36 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3797, allocations: 153.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3797, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3797, allocations: 7.938 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3797, allocations: 4 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3799, allocations: 67.89 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.3808, allocations: 0.6681 MB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3809, allocations: 65.14 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.381, allocations: 17.78 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.381, allocations: 7.938 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3812, allocations: 105 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3812, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003504/0.3816, allocations: 137.4 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.3816, allocations: 77.11 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3819, allocations: 211.7 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.3819, allocations: 41.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3821, allocations: 136.3 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3822, allocations: 27.81 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3823, allocations: 61.64 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.3825, allocations: 334.8 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3827, allocations: 127.4 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.383, allocations: 253.6 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3833, allocations: 198.2 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3833, allocations: 0 / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006126/0.3839, allocations: 360.1 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.384, allocations: 67.39 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.384, allocations: 4 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.384, allocations: 4 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.3841, allocations: 12.12 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3842, allocations: 4 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.3845, allocations: 49.31 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.3846, allocations: 19.98 kB / 1.333 GB, free: 9.43 MB / 1.029 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.0002636/0.3848, allocations: 152.6 kB / 1.333 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3849, allocations: 19.86 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.3849, allocations: 21.02 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3849, allocations: 0 / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3849, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3849, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.3852, allocations: 204.5 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3852, allocations: 0 / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.3853, allocations: 4 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3853, allocations: 3.938 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3853, allocations: 4 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3853, allocations: 0 / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3853, allocations: 0 / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3855, allocations: 145.8 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.3855, allocations: 11.91 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3856, allocations: 8 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.3856, allocations: 0 / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3856, allocations: 11.92 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3856, allocations: 4 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001452/0.3858, allocations: 145.5 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 0 / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002943/0.3861, allocations: 51.88 kB / 1.334 GB, free: 8.582 MB / 1.029 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.0005813/0.3867, allocations: 0.6679 MB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.3871, allocations: 302 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3871, allocations: 0 / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.3872, allocations: 36.56 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3875, allocations: 38 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.3909, allocations: 2.439 MB / 1.337 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.391, allocations: 115.6 kB / 1.338 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3911, allocations: 29.47 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3913, allocations: 51.42 kB / 1.338 GB, free: 4.629 MB / 1.029 GB Notification: Performance of SimCode: time 1.293e-06/0.3913, allocations: 3.938 kB / 1.338 GB, free: 4.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.4253, allocations: 5.103 MB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 0 / 1.343 GB, free: 15.73 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.62576899898704]