Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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: 105.5 kB / 19.73 MB, free: 2.223 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.001419/0.001419, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001992/0.001992, allocations: 61.98 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3242, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002464/0.3267, allocations: 1.018 MB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3289, allocations: 1.371 MB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.329, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.3291, allocations: 23.73 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.3292, allocations: 43.66 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.3301, allocations: 274 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.3306, allocations: 391.2 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3308, allocations: 41.8 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.331, allocations: 155.6 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.3312, allocations: 135.5 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.3313, allocations: 32 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3314, allocations: 59.92 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.3315, allocations: 59.83 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3317, allocations: 143.4 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.3321, allocations: 398.8 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3321, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3321, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3321, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009956/0.3331, allocations: 0.5472 MB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3332, allocations: 16.03 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.3332, allocations: 4.188 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.3332, allocations: 46.73 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.3336, allocations: 64.75 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.3346, allocations: 321.1 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.3346, allocations: 12.38 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3346, allocations: 20.38 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.3351, allocations: 211.2 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3351, allocations: 3.984 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3351, allocations: 8 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3352, allocations: 4 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.3357, allocations: 135.8 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3369, allocations: 0.8827 MB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3373, allocations: 149 kB / 1.291 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.3375, allocations: 76.3 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3375, allocations: 7.938 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.3381, allocations: 167.6 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.3381, allocations: 0 / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001013/0.3391, allocations: 261.6 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3392, allocations: 166.2 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3395, allocations: 216.9 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.3395, allocations: 41.69 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3396, allocations: 148.3 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.3397, allocations: 27.81 kB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3398, allocations: 53.69 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.34, allocations: 334.8 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3403, allocations: 111.8 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3407, allocations: 167.7 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.3413, allocations: 270.9 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3413, allocations: 0 / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009177/0.3422, allocations: 380.6 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.3423, allocations: 67.39 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3423, allocations: 4 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3423, allocations: 4 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3425, allocations: 32.19 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3425, allocations: 7.938 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.3429, allocations: 75.73 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.3429, allocations: 16 kB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0002165/0.3432, allocations: 153.8 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3432, allocations: 19.91 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.3433, allocations: 21.33 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3433, allocations: 4 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3433, allocations: 0 / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3433, allocations: 4 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3436, allocations: 224.5 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3436, allocations: 3.984 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3437, allocations: 27.92 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3437, allocations: 4 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3437, allocations: 11.98 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3437, allocations: 0 / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3437, allocations: 0 / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.3444, allocations: 240.6 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.3444, allocations: 23.8 kB / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3444, allocations: 4 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3446, allocations: 23.97 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.3446, allocations: 23.84 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3447, allocations: 4 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000168/0.3448, allocations: 164.5 kB / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3448, allocations: 0 / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003453/0.3452, allocations: 55.88 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0009485/0.3461, allocations: 0.7758 MB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.3469, allocations: 306.9 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3469, allocations: 8.062 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.3472, allocations: 75.86 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3476, allocations: 48.53 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.3517, allocations: 2.572 MB / 1.298 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.352, allocations: 0.7398 MB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.3522, allocations: 37.61 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3523, allocations: 71.41 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.3523, allocations: 4 kB / 1.299 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.379, allocations: 5.413 MB / 1.304 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 4.672 kB / 1.304 GB, free: 6.93 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.75858815497486] Failed to read output from testmodel.py, exit status != 0: 12.787646856973879 12.307373453 11.971747382 Calling exit ...