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.00181/0.00181, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002308/0.002308, allocations: 217.5 kB / 23.03 MB, free: 4.949 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.935/2.935, allocations: 476.8 MB / 0.7715 GB, free: 3.926 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.00203/0.00203, allocations: 63.12 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002676/0.3542, allocations: 0.8438 MB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3557, allocations: 0.9095 MB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3559, allocations: 3.938 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.356, allocations: 11.81 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3561, allocations: 7.875 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3564, allocations: 75.89 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.3567, allocations: 135.7 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.357, allocations: 57.16 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3571, allocations: 47.84 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3572, allocations: 59.7 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3573, allocations: 12 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.673e-05/0.3574, allocations: 16 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.3574, allocations: 35.84 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.3575, allocations: 47.78 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3578, allocations: 140.7 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3578, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3578, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3578, allocations: 0 / 1.286 GB, free: 8.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.0008828/0.3587, allocations: 377.8 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3587, allocations: 8.031 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/0.3587, allocations: 8.125 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.3588, allocations: 46.73 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.3589, allocations: 16.84 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3592, allocations: 157.4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3592, allocations: 16.38 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.3593, allocations: 12.38 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.3597, allocations: 227.5 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3597, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3597, allocations: 8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3597, allocations: 4 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.3601, allocations: 127.9 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.3609, allocations: 443.2 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3612, allocations: 82.48 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.3613, allocations: 40.83 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3613, allocations: 0 / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3614, allocations: 38.56 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3614, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005252/0.3619, allocations: 161.7 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3619, allocations: 51.41 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3622, allocations: 187.6 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3622, allocations: 37.64 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.3623, allocations: 116 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.3623, allocations: 35.69 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.3624, allocations: 25.72 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3625, allocations: 326.8 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3627, allocations: 39.98 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3628, allocations: 49.72 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.363, allocations: 92.75 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.363, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003407/0.3634, allocations: 145.5 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3634, allocations: 12.31 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3634, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3634, allocations: 4 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3636, allocations: 23.98 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3636, allocations: 3.938 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3637, allocations: 19.88 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3637, allocations: 8 kB / 1.289 GB, free: 5.164 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.0001082/0.3638, allocations: 117.8 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.3639, allocations: 15.91 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3642, allocations: 147 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3643, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3643, allocations: 4 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3643, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.3649, allocations: 415.9 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3649, allocations: 0 / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.365, allocations: 19.98 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.365, allocations: 4 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3651, allocations: 8.094 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3651, allocations: 7.938 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3651, allocations: 7.875 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3654, allocations: 241.9 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3655, allocations: 15.84 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3655, allocations: 4 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3656, allocations: 19.97 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3657, allocations: 15.92 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3657, allocations: 8 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001234/0.3658, allocations: 137.8 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3658, allocations: 0 / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002608/0.3661, allocations: 24 kB / 1.29 GB, free: 3.871 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.0007202/0.3668, allocations: 0.7775 MB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.3671, allocations: 98.12 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3671, allocations: 0 / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3673, allocations: 47.91 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3676, allocations: 15.94 kB / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.3702, allocations: 1.889 MB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.3703, allocations: 98.7 kB / 1.293 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.3703, allocations: 13.08 kB / 1.293 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.3704, allocations: 47.42 kB / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3704, allocations: 0 / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3955, allocations: 3.065 MB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 4 kB / 1.296 GB, free: 13.84 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: 19.162384719005786] Failed to read output from testmodel.py, exit status != 0: 12.855928098899312 12.219272361 11.858105089 Calling exit ...