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.001693/0.001693, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002187/0.002187, allocations: 210.3 kB / 20.13 MB, free: 2.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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002246/0.002246, allocations: 79.88 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001858/1.115, allocations: 0.8972 MB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008724/1.116, allocations: 0.9188 MB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/1.116, allocations: 6.875 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/1.116, allocations: 15 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/1.116, allocations: 7.875 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/1.116, allocations: 65.72 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/1.117, allocations: 139.2 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/1.117, allocations: 48.78 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/1.117, allocations: 52.2 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/1.117, allocations: 59.17 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/1.117, allocations: 12.97 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/1.117, allocations: 16.78 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/1.117, allocations: 35.25 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/1.117, allocations: 56.78 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/1.117, allocations: 149.9 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.117, allocations: 0 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.117, allocations: 3.938 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.117, allocations: 0 / 1.324 GB, free: 23.14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005889/1.118, allocations: 444.8 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.118, allocations: 12.11 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/1.118, allocations: 3.031 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/1.118, allocations: 47.7 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/1.118, allocations: 20.97 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/1.118, allocations: 218 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.118, allocations: 9.844 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/1.118, allocations: 16.94 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/1.118, allocations: 150.9 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.118, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.118, allocations: 4 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.118, allocations: 6.031 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/1.119, allocations: 124.1 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/1.119, allocations: 0.4915 MB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.12, allocations: 83.64 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/1.12, allocations: 39.14 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/1.12, allocations: 4 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/1.12, allocations: 37.28 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/1.12, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004654/1.12, allocations: 162.3 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/1.12, allocations: 54.28 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.12, allocations: 189.2 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/1.12, allocations: 29.7 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/1.12, allocations: 120.8 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.12, allocations: 41.05 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/1.12, allocations: 23.62 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/1.12, allocations: 324.4 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.121, allocations: 41.98 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.121, allocations: 43.52 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/1.121, allocations: 97.88 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.121, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/1.121, allocations: 150 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.121, allocations: 7 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.121, allocations: 3.422 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.121, allocations: 2.719 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/1.121, allocations: 23.11 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.121, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/1.122, allocations: 24.84 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.122, allocations: 6.781 kB / 1.327 GB, free: 20.88 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 (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 6.311e-05/1.122, allocations: 119 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/1.122, allocations: 15.78 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/1.122, allocations: 144.5 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.122, allocations: 3.094 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.122, allocations: 4 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.122, allocations: 2.531 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/1.122, allocations: 449.2 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.122, allocations: 0.9062 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.123, allocations: 23.84 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.123, allocations: 4.844 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.123, allocations: 5.969 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.123, allocations: 1.562 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.123, allocations: 8.969 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/1.123, allocations: 244 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/1.123, allocations: 90.11 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/1.123, allocations: 5.625 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.123, allocations: 18.91 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.123, allocations: 15.94 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/1.123, allocations: 3.719 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001044/1.123, allocations: 145.6 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.123, allocations: 4.75 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002545/1.124, allocations: 23.03 kB / 1.328 GB, free: 19.85 MB / 1.061 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.0005117/1.124, allocations: 0.7792 MB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003315/1.124, allocations: 94.59 kB / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.124, allocations: 0.8438 kB / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.125, allocations: 42.59 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.125, allocations: 34.72 kB / 1.329 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.127, allocations: 1.886 MB / 1.331 GB, free: 17.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.127, allocations: 0.7136 MB / 1.332 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.108e-05/1.127, allocations: 12.09 kB / 1.332 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/1.127, allocations: 47 kB / 1.332 GB, free: 16.88 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.127, allocations: 1.125 kB / 1.332 GB, free: 16.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/1.148, allocations: 2.864 MB / 1.334 GB, free: 16.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.797, allocations: 15.11 kB / 1.334 GB, free: 16.38 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.407711308042053] Failed to read output from testmodel.py, exit status != 0: 9.930282510002144 9.954332564 8.832764943 Calling exit ...