Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001445/0.001445, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.339/3.339, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.001996/0.001996, allocations: 61.41 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.388, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0031/0.3911, allocations: 0.9544 MB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3934, allocations: 1.35 MB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3936, allocations: 0 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3937, allocations: 23.73 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.3939, allocations: 39.66 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000999/0.3949, allocations: 290.5 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.3955, allocations: 383.2 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3958, allocations: 57.48 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.3961, allocations: 151.7 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.3964, allocations: 131.5 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3965, allocations: 36 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3966, allocations: 47.98 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3967, allocations: 63.77 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3969, allocations: 111.6 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.3975, allocations: 406.5 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3975, allocations: 0 / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3975, allocations: 4 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.3976, allocations: 0 / 1.349 GB, free: 11.91 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001334/0.3989, allocations: 0.555 MB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3989, allocations: 8.031 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.399, allocations: 8.125 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.399, allocations: 54.67 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.3995, allocations: 60.77 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.4004, allocations: 309.1 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.4005, allocations: 16.31 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.4005, allocations: 20.38 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.401, allocations: 206 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.401, allocations: 0 / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4011, allocations: 11.98 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4011, allocations: 4 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.4016, allocations: 139.7 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4029, allocations: 0.8205 MB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.4033, allocations: 153 kB / 1.351 GB, free: 9.355 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.4035, allocations: 80.3 kB / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4036, allocations: 0 / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.4041, allocations: 167.5 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.4041, allocations: 3.938 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0009169/0.405, allocations: 261.2 kB / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4051, allocations: 162.5 kB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4053, allocations: 225 kB / 1.352 GB, free: 8.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.4054, allocations: 29.7 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4055, allocations: 164.2 kB / 1.353 GB, free: 8.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.4056, allocations: 27.8 kB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.4057, allocations: 57.69 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4058, allocations: 334.8 kB / 1.353 GB, free: 7.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.4062, allocations: 159.3 kB / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.4067, allocations: 296.1 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.4073, allocations: 270.9 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4073, allocations: 4 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009519/0.4083, allocations: 440.6 kB / 1.354 GB, free: 6.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.4083, allocations: 69.73 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4084, allocations: 0 / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4084, allocations: 4 kB / 1.354 GB, free: 6.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4086, allocations: 31.91 kB / 1.354 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4086, allocations: 0 / 1.354 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.409, allocations: 79.95 kB / 1.354 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.409, allocations: 15.97 kB / 1.354 GB, free: 6.258 MB / 1.045 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.0001918/0.4092, allocations: 161.6 kB / 1.354 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4093, allocations: 19.86 kB / 1.354 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.4093, allocations: 25.33 kB / 1.354 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4093, allocations: 0 / 1.354 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.4093, allocations: 8 kB / 1.354 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4093, allocations: 0 / 1.354 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.4096, allocations: 216.6 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4096, allocations: 4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.4098, allocations: 23.97 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4098, allocations: 0 / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.4098, allocations: 8 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4098, allocations: 4 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4098, allocations: 11.88 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.4104, allocations: 236.2 kB / 1.355 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.4104, allocations: 23.84 kB / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.4105, allocations: 7.984 kB / 1.355 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4106, allocations: 11.98 kB / 1.355 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.4107, allocations: 31.84 kB / 1.355 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4107, allocations: 4 kB / 1.355 GB, free: 5.391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001505/0.4108, allocations: 160.5 kB / 1.355 GB, free: 5.238 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4108, allocations: 0 / 1.355 GB, free: 5.238 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003154/0.4111, allocations: 55.89 kB / 1.355 GB, free: 5.184 MB / 1.045 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.0009844/0.4121, allocations: 0.7757 MB / 1.356 GB, free: 4.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008292/0.413, allocations: 381.9 kB / 1.356 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.413, allocations: 448 / 1.356 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.4132, allocations: 71.88 kB / 1.356 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.4136, allocations: 56.45 kB / 1.356 GB, free: 3.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.4179, allocations: 2.82 MB / 1.359 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.4181, allocations: 140.8 kB / 1.359 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.4182, allocations: 33.98 kB / 1.359 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4183, allocations: 67.36 kB / 1.359 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.4183, allocations: 0 / 1.359 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.4488, allocations: 5.706 MB / 1.365 GB, free: 11.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 5.625 kB / 1.365 GB, free: 11.07 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.18696940690279] Failed to read output from testmodel.py, exit status != 0: 12.184317686012946 12.21049329 11.808198793 Calling exit ...