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.001554/0.001554, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001888/0.001888, allocations: 214.2 kB / 23.03 MB, free: 4.922 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.65/1.65, allocations: 230.6 MB / 256.8 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.359/3.359, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",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.001972/0.001972, allocations: 69.31 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4454, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002365/0.4478, allocations: 0.8469 MB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.4498, allocations: 1.311 MB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.4499, allocations: 3.938 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.45, allocations: 15.81 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.4501, allocations: 35.77 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.4509, allocations: 274.2 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.4514, allocations: 327.4 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4515, allocations: 37.67 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.4517, allocations: 135.7 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.4519, allocations: 111.6 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.452, allocations: 32 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.4521, allocations: 43.98 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.4522, allocations: 47.84 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.4524, allocations: 103.6 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.4529, allocations: 350.8 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4529, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4529, allocations: 3.938 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4529, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 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.0007985/0.4537, allocations: 488.7 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4537, allocations: 16.03 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.4538, allocations: 4.188 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.4538, allocations: 46.73 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.4542, allocations: 60.75 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/0.4549, allocations: 230 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.4549, allocations: 16.31 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.455, allocations: 20.38 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4552, allocations: 145.2 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4552, allocations: 8 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4553, allocations: 11.94 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4553, allocations: 4 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.4554, allocations: 63.91 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.4563, allocations: 0.6758 MB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4564, allocations: 57.23 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.4565, allocations: 29.77 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.4565, allocations: 3.938 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.4568, allocations: 109 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.4568, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003595/0.4572, allocations: 133.9 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.4572, allocations: 81.09 kB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4575, allocations: 211.8 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.4575, allocations: 33.7 kB / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4577, allocations: 144.2 kB / 1.351 GB, free: 9.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.4577, allocations: 15.84 kB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4578, allocations: 69.67 kB / 1.351 GB, free: 9.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4581, allocations: 326.8 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.4583, allocations: 135.4 kB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4586, allocations: 247.3 kB / 1.352 GB, free: 8.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4588, allocations: 186.2 kB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4588, allocations: 0 / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000612/0.4595, allocations: 368.2 kB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.4595, allocations: 63.41 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4595, allocations: 0 / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.4596, allocations: 8.078 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.4597, allocations: 15.94 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4597, allocations: 0 / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.46, allocations: 68.06 kB / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.4601, allocations: 15.98 kB / 1.353 GB, free: 7.824 MB / 1.045 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.0002014/0.4603, allocations: 145.7 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4603, allocations: 15.91 kB / 1.353 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.4604, allocations: 21.02 kB / 1.353 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.4604, allocations: 7.938 kB / 1.353 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4604, allocations: 0 / 1.353 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4604, allocations: 0 / 1.353 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.4607, allocations: 196.6 kB / 1.353 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4607, allocations: 4 kB / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.4607, allocations: 11.92 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4607, allocations: 4 kB / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.4607, allocations: 0 / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4607, allocations: 0 / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4607, allocations: 0 / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4609, allocations: 137.8 kB / 1.353 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.461, allocations: 11.91 kB / 1.353 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.461, allocations: 3.984 kB / 1.353 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.461, allocations: 8 kB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4611, allocations: 7.922 kB / 1.353 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4611, allocations: 11.94 kB / 1.353 GB, free: 7.172 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001452/0.4612, allocations: 145.5 kB / 1.353 GB, free: 7.031 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4612, allocations: 0 / 1.353 GB, free: 7.031 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002992/0.4615, allocations: 47.89 kB / 1.354 GB, free: 6.984 MB / 1.045 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.000656/0.4622, allocations: 0.6717 MB / 1.354 GB, free: 6.277 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.4626, allocations: 302.2 kB / 1.354 GB, free: 5.945 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4626, allocations: 384 / 1.354 GB, free: 5.945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/0.4627, allocations: 35.92 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.463, allocations: 41.05 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.4661, allocations: 2.431 MB / 1.357 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.4662, allocations: 123.6 kB / 1.357 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.779e-05/0.4663, allocations: 17.86 kB / 1.357 GB, free: 3.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.4665, allocations: 59.39 kB / 1.357 GB, free: 3.027 MB / 1.045 GB Notification: Performance of SimCode: time 8.11e-07/0.4665, allocations: 0 / 1.357 GB, free: 3.027 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.4954, allocations: 4.69 MB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.94, allocations: 5.891 kB / 1.362 GB, free: 14.56 MB / 1.061 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] [Calling os._exit(0), Time elapsed: 19.227297139004804] Failed to read output from testmodel.py, exit status != 0: 12.10769875801634 12.138438825 11.680214387 Calling exit ...