Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001839/0.001839, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002222/0.002222, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_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.002038/0.002038, allocations: 64.11 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.385, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002185/0.3872, allocations: 0.8521 MB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3884, allocations: 0.9211 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.3885, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.3885, allocations: 11.86 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.3886, allocations: 11.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3888, allocations: 59.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3891, allocations: 143.7 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3893, allocations: 41.67 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.3894, allocations: 59.77 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3895, allocations: 59.69 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.3895, allocations: 16 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.481e-05/0.3895, allocations: 12 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.3896, allocations: 27.91 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.3896, allocations: 47.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3898, allocations: 151.5 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3898, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3898, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3899, allocations: 8 kB / 1.329 GB, free: 15.05 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007178/0.3906, allocations: 365.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3906, allocations: 8.031 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.3906, allocations: 4.188 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.3907, allocations: 54.73 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3907, allocations: 16.84 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3911, allocations: 150.3 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3911, allocations: 8.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3911, allocations: 12.38 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3915, allocations: 235.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3916, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3916, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3916, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3919, allocations: 123.9 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.3928, allocations: 443.3 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.393, allocations: 86.47 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3932, allocations: 36.84 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3932, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.3932, allocations: 46.48 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.3932, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005266/0.3938, allocations: 157.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3938, allocations: 51.41 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3941, allocations: 195.6 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.3941, allocations: 25.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3942, allocations: 116 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3942, allocations: 39.64 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.3943, allocations: 29.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3945, allocations: 322.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3946, allocations: 47.97 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3947, allocations: 43.59 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.395, allocations: 96.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.395, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003237/0.3953, allocations: 141.5 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3953, allocations: 8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3953, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3953, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3955, allocations: 27.98 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3955, allocations: 11.91 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3956, allocations: 15.89 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3957, allocations: 8 kB / 1.332 GB, free: 11.95 MB / 1.029 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.000112/0.3958, allocations: 121.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3958, allocations: 19.89 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.3962, allocations: 143 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3962, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3962, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3962, allocations: 480 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.3968, allocations: 404 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3968, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3969, allocations: 32.02 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3969, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.397, allocations: 7.938 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.397, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.397, allocations: 3.938 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3973, allocations: 241.9 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.3974, allocations: 23.83 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.3974, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3976, allocations: 19.98 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3976, allocations: 11.92 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3976, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3977, allocations: 148 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002527/0.398, allocations: 19.94 kB / 1.333 GB, free: 10.65 MB / 1.029 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.0007508/0.3987, allocations: 0.7773 MB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3991, allocations: 91.88 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3991, allocations: 4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3992, allocations: 43.91 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.3995, allocations: 21.97 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4021, allocations: 1.884 MB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.79e-05/0.4022, allocations: 102.5 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.625e-05/0.4022, allocations: 17.08 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.4023, allocations: 39.42 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4023, allocations: 192 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4297, allocations: 3.066 MB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 9.828 kB / 1.339 GB, free: 4.625 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.018393474048935] Failed to read output from testmodel.py, exit status != 0: 12.293940044008195 12.325422476 11.930232941 Calling exit ...