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.001983/0.001983, allocations: 120.9 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.002342/0.002342, allocations: 208 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.563/1.563, 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.172/3.172, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 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.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.002034/0.002034, allocations: 59.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9285, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001873/0.9303, allocations: 0.615 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000992/0.9313, allocations: 0.85 MB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.9314, allocations: 1.344 kB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.9314, allocations: 0 / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.9315, allocations: 5.031 kB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.9316, allocations: 17.14 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.9317, allocations: 17 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.9317, allocations: 10.73 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.9319, allocations: 17.69 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.9319, allocations: 9.656 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.9319, allocations: 1.312 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.932, allocations: 6.781 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.932, allocations: 2.141 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.932, allocations: 6.141 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.732e-05/0.9321, allocations: 23.03 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9321, allocations: 0 / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9321, allocations: 1.406 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9321, allocations: 0 / 1.342 GB, free: 15.19 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003373/0.9324, allocations: 341.4 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9325, allocations: 10.03 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.9325, allocations: 4.125 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.694e-05/0.9325, allocations: 31.31 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.9327, allocations: 11.55 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.9327, allocations: 166.4 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.9327, allocations: 1.172 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.9327, allocations: 5.719 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.9329, allocations: 41.5 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9329, allocations: 2.562 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.9329, allocations: 0 / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.9329, allocations: 0 / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.933, allocations: 11.28 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.9331, allocations: 152.7 kB / 1.342 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.9331, allocations: 33.53 kB / 1.342 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.9332, allocations: 10.98 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.9332, allocations: 1.156 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.9332, allocations: 36.45 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.9332, allocations: 0 / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.9334, allocations: 54.77 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.9334, allocations: 61.58 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.9335, allocations: 101.7 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.9335, allocations: 26.8 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.9335, allocations: 81.92 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.9335, allocations: 7.953 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.9335, allocations: 13.19 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.9336, allocations: 312.7 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.9336, allocations: 5.922 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.9337, allocations: 14.31 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.9337, allocations: 18.66 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9337, allocations: 0 / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.66e-05/0.9338, allocations: 50.09 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9338, allocations: 9.531 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9338, allocations: 0.6094 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9339, allocations: 5.719 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.9339, allocations: 7.047 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9339, allocations: 0.6562 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.934, allocations: 2.672 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.934, allocations: 5.562 kB / 1.343 GB, free: 13.52 MB / 1.061 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 4.44e-05/0.934, allocations: 109.6 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.934, allocations: 5.984 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.934, allocations: 8.516 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.934, allocations: 5.156 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.934, allocations: 4 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.934, allocations: 0.6562 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.823e-05/0.9341, allocations: 149.7 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9341, allocations: 0 / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.9341, allocations: 5.812 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9341, allocations: 3.938 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.9341, allocations: 4 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9341, allocations: 1.531 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9341, allocations: 0 / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.9342, allocations: 80.38 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.9343, allocations: 82.8 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.9343, allocations: 0 / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.9343, allocations: 3.453 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.9343, allocations: 1.938 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.9343, allocations: 0.7969 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.061e-05/0.9343, allocations: 80.58 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9343, allocations: 32 / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001778/0.9345, allocations: 10.95 kB / 1.344 GB, free: 12.94 MB / 1.061 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.0002848/0.9348, allocations: 0.6058 MB / 1.344 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.9349, allocations: 26.83 kB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9349, allocations: 0 / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.935, allocations: 7 kB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.9351, allocations: 3.625 kB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.9354, allocations: 141.6 kB / 1.345 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.9355, allocations: 0.6746 MB / 1.345 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.9355, allocations: 1.719 kB / 1.345 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.9356, allocations: 16.03 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9356, allocations: 1.094 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.9519, allocations: 1.179 MB / 1.346 GB, free: 11.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/9.14, allocations: 7.438 kB / 1.346 GB, free: 11.07 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.04288651503157] Failed to read output from testmodel.py, exit status != 0: 9.266961793997325 9.289617729 8.35332765 Calling exit ...