Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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: 101.8 kB / 19.73 MB, free: 2.23 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.002212/0.002212, allocations: 216.5 kB / 23.04 MB, free: 5.07 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7715 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.0021/0.0021, allocations: 66.7 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002424/0.3741, allocations: 0.8969 MB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3754, allocations: 0.9174 MB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3755, allocations: 3.938 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.3756, allocations: 15.8 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.3756, allocations: 11.88 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.3759, allocations: 67.91 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3761, allocations: 139.7 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3763, allocations: 49.59 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3764, allocations: 51.84 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.3765, allocations: 63.69 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.3765, allocations: 16 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.3766, allocations: 12 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.3766, allocations: 31.91 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.3767, allocations: 63.61 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3769, allocations: 139 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3769, allocations: 0 / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3769, allocations: 3.938 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3769, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007184/0.3776, allocations: 379.5 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3777, allocations: 8.031 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.845e-05/0.3777, allocations: 4.188 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.3777, allocations: 46.73 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3778, allocations: 16.84 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3781, allocations: 154.3 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3781, allocations: 8.375 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3781, allocations: 12.38 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.3785, allocations: 154.4 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3785, allocations: 0 / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3785, allocations: 7.984 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3785, allocations: 4 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.3788, allocations: 131.8 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.3797, allocations: 475.2 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3799, allocations: 74.55 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.38, allocations: 44.83 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.38, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3801, allocations: 30.56 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3801, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005147/0.3806, allocations: 157.9 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3806, allocations: 55.41 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3808, allocations: 195.6 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3808, allocations: 25.8 kB / 1.289 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.3809, allocations: 127.9 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.381, allocations: 35.64 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.381, allocations: 29.7 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3812, allocations: 326.8 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3813, allocations: 35.97 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3814, allocations: 53.62 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.3817, allocations: 92.77 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3817, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003459/0.382, allocations: 145.5 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3821, allocations: 4 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3821, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3821, allocations: 3.938 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3823, allocations: 27.98 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3823, allocations: 4 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3824, allocations: 19.88 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3824, allocations: 4 kB / 1.289 GB, free: 6.238 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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 0.000113/0.3825, allocations: 121.8 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3825, allocations: 15.91 kB / 1.29 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.3829, allocations: 143 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3829, allocations: 4 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3829, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3829, allocations: 4 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.3836, allocations: 435.8 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3836, allocations: 96 / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3837, allocations: 23.98 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3837, allocations: 4 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3837, allocations: 0 / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3837, allocations: 4.078 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.3837, allocations: 11.86 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.3841, allocations: 241.9 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.3841, allocations: 16.09 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3841, allocations: 4 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3843, allocations: 23.91 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3843, allocations: 11.92 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3843, allocations: 4 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001311/0.3845, allocations: 149.8 kB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3845, allocations: 0 / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002565/0.3847, allocations: 16 kB / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007037/0.3854, allocations: 0.7773 MB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3857, allocations: 91.88 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3857, allocations: 0 / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3859, allocations: 52.09 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3862, allocations: 15.94 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3886, allocations: 1.893 MB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.389, allocations: 0.7122 MB / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.389, allocations: 17.08 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.3891, allocations: 39.42 kB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.3891, allocations: 0 / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.4142, allocations: 3.016 MB / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 11.88 kB / 1.297 GB, free: 14.3 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.763143672025762] Failed to read output from testmodel.py, exit status != 0: 12.479672392015345 11.883039993 11.502904784 Calling exit ...