Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001266/0.001266, 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.001426/0.001426, allocations: 218.1 kB / 23.04 MB, free: 5.078 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.314/3.314, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.001987/0.001987, allocations: 64.14 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4077, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002279/0.41, allocations: 0.623 MB / 1.346 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.4112, allocations: 0.8475 MB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.4112, allocations: 0 / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.4113, allocations: 0 / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.4113, allocations: 11.92 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.4115, allocations: 7.984 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.4116, allocations: 19.94 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.4116, allocations: 4 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.4118, allocations: 15.86 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.4119, allocations: 11.98 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4119, allocations: 4 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.493e-05/0.4119, allocations: 3.984 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.4119, allocations: 7.938 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.412, allocations: 4 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4121, allocations: 24.14 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4121, allocations: 7.984 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4121, allocations: 0 / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4121, allocations: 0 / 1.347 GB, free: 14.85 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004706/0.4126, allocations: 250.4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.4126, allocations: 12.03 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.4126, allocations: 4.188 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.4127, allocations: 30.75 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.4128, allocations: 12.92 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.413, allocations: 114.4 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.413, allocations: 384 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.413, allocations: 4.312 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.4131, allocations: 42 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4131, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4131, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4131, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.4132, allocations: 15.98 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.4134, allocations: 128.8 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.4135, allocations: 18.61 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.4135, allocations: 20.84 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4135, allocations: 4 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4135, allocations: 34.5 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.4135, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002001/0.4137, allocations: 53.69 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4138, allocations: 55.39 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.4139, allocations: 101.8 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4139, allocations: 25.7 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.414, allocations: 84.14 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.414, allocations: 7.938 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.414, allocations: 17.7 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4142, allocations: 319 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.4142, allocations: 7.938 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.4142, allocations: 7.984 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.4143, allocations: 20.84 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4143, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001109/0.4144, allocations: 45.69 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4144, allocations: 16.03 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4144, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4145, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.4145, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.4145, allocations: 3.984 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.4146, allocations: 0 / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.4146, allocations: 0 / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.333e-05/0.4147, allocations: 113.8 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.4147, allocations: 3.938 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.4147, allocations: 7.156 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4147, allocations: 0 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4147, allocations: 256 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.4147, allocations: 7.984 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.4148, allocations: 128.7 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4148, allocations: 7.984 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.4148, allocations: 3.938 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4148, allocations: 3.938 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.4149, allocations: 4 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4149, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4149, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.415, allocations: 77.06 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.415, allocations: 7.938 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.415, allocations: 4 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.415, allocations: 0 / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.4151, allocations: 7.875 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4151, allocations: 0 / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.4151, allocations: 87.3 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 0 / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001733/0.4153, allocations: 4 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00047/0.4158, allocations: 0.6046 MB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.4159, allocations: 16.02 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4159, allocations: 4 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.4159, allocations: 11.94 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.4161, allocations: 3.938 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.4165, allocations: 132.7 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4168, allocations: 0.6846 MB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.4168, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.4168, allocations: 7.438 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4168, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4389, allocations: 1.255 MB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 4.422 kB / 1.351 GB, free: 10.02 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.57342092395993] Failed to read output from testmodel.py, exit status != 0: 11.847813854983542 11.877383486 11.459865134 Calling exit ...