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.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.001838/0.001838, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002069/0.002069, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002446/0.002446, allocations: 68.58 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3599, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002304/0.3622, allocations: 0.8481 MB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3641, allocations: 1.312 MB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.3642, allocations: 8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3643, allocations: 19.8 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.3644, allocations: 31.72 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.3652, allocations: 262.5 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.3656, allocations: 323.5 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3658, allocations: 37.66 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.366, allocations: 131.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.3662, allocations: 103.6 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.3663, allocations: 28 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3664, allocations: 51.92 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.3665, allocations: 43.86 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3666, allocations: 103.6 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.367, allocations: 354.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.367, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.367, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3671, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 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.000787/0.3678, allocations: 488.7 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3679, allocations: 8.031 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.3679, allocations: 46.73 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3683, allocations: 64.7 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.3689, allocations: 238 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.369, allocations: 20.36 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.369, allocations: 16.38 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3693, allocations: 155.4 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3693, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3693, allocations: 11.98 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3693, allocations: 0 / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3694, allocations: 71.89 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.3703, allocations: 0.6758 MB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3704, allocations: 53.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.3705, allocations: 25.72 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3705, allocations: 4 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3707, allocations: 105 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3707, allocations: 0 / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003134/0.371, allocations: 133.5 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3711, allocations: 81.11 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3713, allocations: 211.8 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.3713, allocations: 33.7 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3715, allocations: 140.3 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3715, allocations: 19.83 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3716, allocations: 65.62 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3718, allocations: 330.8 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.3719, allocations: 127.4 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3722, allocations: 253.7 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3725, allocations: 198.2 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3725, allocations: 0 / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005569/0.373, allocations: 360.2 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.3731, allocations: 63.39 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3731, allocations: 4.188 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3731, allocations: 8 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.3732, allocations: 7.938 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3732, allocations: 7.984 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.3735, allocations: 55.89 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3736, allocations: 12 kB / 1.371 GB, free: 5.988 MB / 1.061 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.0001627/0.3737, allocations: 159 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3737, allocations: 19.89 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3738, allocations: 13.03 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3738, allocations: 0 / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3738, allocations: 7.938 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3738, allocations: 0 / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.374, allocations: 204.6 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.374, allocations: 0 / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.374, allocations: 4 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.374, allocations: 4 kB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3741, allocations: 4 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3741, allocations: 7.984 kB / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3741, allocations: 0 / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3743, allocations: 138.2 kB / 1.371 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3743, allocations: 15.91 kB / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3743, allocations: 0 / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.3743, allocations: 0 / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3744, allocations: 11.98 kB / 1.371 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3744, allocations: 7.938 kB / 1.371 GB, free: 5.328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001409/0.3745, allocations: 152.1 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3745, allocations: 0 / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002828/0.3748, allocations: 43.89 kB / 1.372 GB, free: 5.137 MB / 1.061 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.0005642/0.3754, allocations: 0.6873 MB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3758, allocations: 290.1 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3758, allocations: 0 / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.3759, allocations: 27.92 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3762, allocations: 43.97 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3792, allocations: 2.443 MB / 1.375 GB, free: 1.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3794, allocations: 115.6 kB / 1.375 GB, free: 1.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.876e-05/0.3794, allocations: 25.47 kB / 1.375 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.3795, allocations: 51.42 kB / 1.375 GB, free: 1.184 MB / 1.061 GB Notification: Performance of SimCode: time 7.22e-07/0.3795, allocations: 0 / 1.375 GB, free: 1.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.4135, allocations: 5.072 MB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 2.406 kB / 1.38 GB, free: 12.32 MB / 1.076 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.946716143283993]