Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0017/0.0017, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002072/0.002072, allocations: 211.8 kB / 23.04 MB, free: 5.074 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7959 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_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.002059/0.002059, allocations: 71.23 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3726, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002717/0.3753, allocations: 1.016 MB / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3777, allocations: 1.369 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3778, allocations: 4 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3779, allocations: 23.73 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.378, allocations: 43.64 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.3789, allocations: 284 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.3794, allocations: 379.2 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3796, allocations: 45.78 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3798, allocations: 155.7 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.38, allocations: 139.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.3801, allocations: 36 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3802, allocations: 51.98 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.3803, allocations: 63.81 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3805, allocations: 127.4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.381, allocations: 414.5 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.381, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.705e-06/0.381, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.381, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 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.001133/0.3821, allocations: 0.5511 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.3822, allocations: 8.031 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.346e-05/0.3822, allocations: 8.125 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.3823, allocations: 46.73 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.3827, allocations: 64.75 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.3836, allocations: 309.1 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3836, allocations: 16.31 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3837, allocations: 20.38 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.3842, allocations: 209.9 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3842, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3842, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3842, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.3847, allocations: 147.7 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3859, allocations: 0.8711 MB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.3863, allocations: 153 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3865, allocations: 80.3 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3866, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.3871, allocations: 175.5 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3871, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000912/0.388, allocations: 257.8 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3881, allocations: 162.2 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.3883, allocations: 221 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.3884, allocations: 29.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3885, allocations: 156.3 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3886, allocations: 31.78 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3887, allocations: 57.78 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3889, allocations: 334.8 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3892, allocations: 99.86 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3896, allocations: 179.2 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.3902, allocations: 266.9 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3902, allocations: 8 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009316/0.3912, allocations: 376.6 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.3912, allocations: 67.61 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3912, allocations: 4.141 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3913, allocations: 0 / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3914, allocations: 35.89 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3915, allocations: 4 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.3919, allocations: 75.81 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.3919, allocations: 15.98 kB / 1.336 GB, free: 8.434 MB / 1.029 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.0001732/0.3921, allocations: 150.2 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3921, allocations: 23.89 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.3922, allocations: 21.34 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3922, allocations: 0 / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3922, allocations: 4 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3922, allocations: 3.984 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.3925, allocations: 236.5 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3925, allocations: 4 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3927, allocations: 23.97 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3927, allocations: 4 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3927, allocations: 3.938 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3927, allocations: 7.984 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3927, allocations: 3.938 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.3933, allocations: 236.2 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3933, allocations: 27.78 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3933, allocations: 4 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3935, allocations: 23.97 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.3936, allocations: 19.86 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3936, allocations: 4 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001484/0.3937, allocations: 160.5 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3937, allocations: 0 / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003038/0.394, allocations: 55.89 kB / 1.337 GB, free: 7.348 MB / 1.029 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.001015/0.395, allocations: 0.7718 MB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3958, allocations: 310.6 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3958, allocations: 0 / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3961, allocations: 75.86 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3965, allocations: 56.88 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.4007, allocations: 2.566 MB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.4012, allocations: 0.7437 MB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000146/0.4013, allocations: 41.92 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4014, allocations: 71.34 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.4014, allocations: 0 / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4297, allocations: 5.424 MB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 13.34 kB / 1.346 GB, free: 13.23 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.1005092090345] Failed to read output from testmodel.py, exit status != 0: 12.166379810019862 12.190049326 11.804201767 Calling exit ...