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.001306/0.001306, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001457/0.001457, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.374/3.374, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.002002/0.002002, allocations: 67.45 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002084/0.3699, allocations: 0.6036 MB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3711, allocations: 0.8475 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.3711, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3711, allocations: 3.938 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.3712, allocations: 3.984 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3714, allocations: 7.938 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.324e-05/0.3715, allocations: 23.92 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3715, allocations: 0 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3717, allocations: 19.91 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.3717, allocations: 8 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3718, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.3718, allocations: 8 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3718, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3718, allocations: 11.94 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3719, allocations: 24.17 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3719, allocations: 3.938 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.372, allocations: 4 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.372, allocations: 3.938 kB / 1.347 GB, free: 14.33 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.0004335/0.3724, allocations: 246.4 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3724, allocations: 12.03 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.3725, allocations: 192 / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.3725, allocations: 34.75 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3727, allocations: 24.88 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3728, allocations: 102.5 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3728, allocations: 8.344 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3728, allocations: 384 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.373, allocations: 38.02 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.373, allocations: 3.938 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.373, allocations: 0 / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.373, allocations: 3.984 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.586e-05/0.3731, allocations: 19.94 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.3733, allocations: 124.8 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.3733, allocations: 18.61 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.3734, allocations: 16.91 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3734, allocations: 0 / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3735, allocations: 38.5 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3735, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002296/0.3737, allocations: 53.61 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3737, allocations: 55.53 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3738, allocations: 101.9 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3738, allocations: 25.7 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3739, allocations: 88.12 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3739, allocations: 3.953 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.374, allocations: 13.72 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3741, allocations: 314.8 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.3742, allocations: 7.984 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.3742, allocations: 4 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.556e-05/0.3743, allocations: 28.91 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3743, allocations: 0 / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.3744, allocations: 45.62 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3744, allocations: 7.938 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3744, allocations: 3.938 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3744, allocations: 4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.3745, allocations: 3.984 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3745, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.3745, allocations: 4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3746, allocations: 4.031 kB / 1.348 GB, free: 12.7 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 9.038e-05/0.3746, allocations: 117.8 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.3747, allocations: 3.938 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.3747, allocations: 3.156 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3747, allocations: 3.984 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3747, allocations: 0 / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3747, allocations: 0 / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3748, allocations: 125 kB / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3748, allocations: 0 / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.3748, allocations: 11.98 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3748, allocations: 7.938 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3748, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3748, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3748, allocations: 7.938 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.375, allocations: 73.02 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.375, allocations: 7.922 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.375, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.61e-05/0.3751, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3751, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3751, allocations: 4.031 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.3751, allocations: 91.27 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3751, allocations: 0 / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001796/0.3753, allocations: 0 / 1.349 GB, free: 12.18 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.0004726/0.3758, allocations: 0.6007 MB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3759, allocations: 19.98 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3759, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.376, allocations: 12.08 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.3761, allocations: 4 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.3765, allocations: 131.5 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.3766, allocations: 71.22 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.3766, allocations: 0 / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.3767, allocations: 15.42 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3767, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.403, allocations: 1.274 MB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 9.078 kB / 1.351 GB, free: 10.1 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.72530887601897] Failed to read output from testmodel.py, exit status != 0: 11.835291733033955 11.865242441 11.488159977 Calling exit ...