Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.00129/0.00129, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001362/0.001362, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.081/3.081, allocations: 0.5003 GB / 0.8026 GB, free: 6.758 MB / 0.6387 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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.002146/0.002146, allocations: 67.91 kB / 1.165 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002065/1.208, allocations: 0.7267 MB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.21, allocations: 1.279 MB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/1.21, allocations: 1.094 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/1.21, allocations: 16.12 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/1.21, allocations: 17.2 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/1.211, allocations: 246.7 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003464/1.211, allocations: 238.5 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/1.211, allocations: 31.64 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/1.211, allocations: 107 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/1.211, allocations: 85.78 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/1.211, allocations: 20.78 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/1.212, allocations: 44.2 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/1.212, allocations: 41.95 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/1.212, allocations: 85.55 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/1.212, allocations: 225.6 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.212, allocations: 1.344 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/1.212, allocations: 4.562 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.212, allocations: 0 / 1.343 GB, free: 14.43 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006152/1.213, allocations: 0.5024 MB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.213, allocations: 9.297 kB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.517e-05/1.213, allocations: 3.375 kB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/1.213, allocations: 43.89 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/1.213, allocations: 61.92 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/1.214, allocations: 261.5 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.214, allocations: 12.16 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/1.214, allocations: 18.5 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/1.214, allocations: 130.3 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.214, allocations: 0 / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.214, allocations: 8.219 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.214, allocations: 5.688 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/1.214, allocations: 48.73 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/1.215, allocations: 0.6557 MB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/1.215, allocations: 43.7 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/1.215, allocations: 21.95 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/1.215, allocations: 1.922 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/1.215, allocations: 92.58 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/1.215, allocations: 4 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002529/1.215, allocations: 99.11 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.215, allocations: 80.19 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.216, allocations: 179.1 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.216, allocations: 31.05 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/1.216, allocations: 123.2 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/1.216, allocations: 11.97 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.216, allocations: 58.92 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/1.216, allocations: 325.3 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/1.216, allocations: 52.73 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/1.216, allocations: 118.1 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/1.216, allocations: 177.2 kB / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.216, allocations: 1.375 kB / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004813/1.217, allocations: 287 kB / 1.347 GB, free: 11.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/1.217, allocations: 67.75 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.217, allocations: 1.375 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.217, allocations: 3.266 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.281e-05/1.217, allocations: 3.828 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.217, allocations: 7.203 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/1.217, allocations: 60.47 kB / 1.347 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.217, allocations: 13 kB / 1.347 GB, free: 11.47 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001374/1.218, allocations: 143.7 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/1.218, allocations: 9.453 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/1.218, allocations: 10.16 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.218, allocations: 0 / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.218, allocations: 2.078 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.218, allocations: 1.469 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.218, allocations: 213.5 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.218, allocations: 1.984 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/1.218, allocations: 2.031 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.218, allocations: 1.375 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.218, allocations: 2.078 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.218, allocations: 4.688 kB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.218, allocations: 1.375 kB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/1.218, allocations: 121.9 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/1.218, allocations: 85.98 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/1.218, allocations: 2.391 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/1.218, allocations: 0.7969 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/1.218, allocations: 4.859 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.218, allocations: 3.812 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.653e-05/1.218, allocations: 122.6 kB / 1.347 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.218, allocations: 0 / 1.347 GB, free: 10.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000287/1.218, allocations: 42 kB / 1.347 GB, free: 10.8 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0003402/1.219, allocations: 0.6569 MB / 1.348 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002957/1.219, allocations: 207.7 kB / 1.348 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.219, allocations: 4.438 kB / 1.348 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/1.219, allocations: 22.55 kB / 1.348 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/1.219, allocations: 21.52 kB / 1.348 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/1.221, allocations: 1.926 MB / 1.35 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/1.221, allocations: 0.7118 MB / 1.351 GB, free: 7.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.449e-05/1.221, allocations: 10.64 kB / 1.351 GB, free: 7.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/1.222, allocations: 38.48 kB / 1.351 GB, free: 7.723 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.222, allocations: 0 / 1.351 GB, free: 7.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/1.244, allocations: 3.562 MB / 1.354 GB, free: 7.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.91, allocations: 5.938 kB / 1.354 GB, free: 7.191 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.5682405270054] Failed to read output from testmodel.py, exit status != 0: 10.039096219989005 10.058481227 8.84259789 Calling exit ...