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.00141/0.00141, allocations: 101.5 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.00226/0.00226, allocations: 209.6 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.217/3.217, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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.001953/0.001953, allocations: 67.34 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4136, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002176/0.4157, allocations: 0.9038 MB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.417, allocations: 0.9211 MB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.4171, allocations: 7.938 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.4171, allocations: 11.81 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.4172, allocations: 7.875 kB / 1.329 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.4174, allocations: 75.83 kB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.4177, allocations: 131.7 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4179, allocations: 45.66 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.418, allocations: 59.77 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.4181, allocations: 63.69 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.4181, allocations: 12 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.4181, allocations: 16 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.4182, allocations: 27.92 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.4182, allocations: 59.66 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.4184, allocations: 143.6 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4184, allocations: 3.984 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4184, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.4185, allocations: 0 / 1.329 GB, free: 15.46 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.0007138/0.4192, allocations: 369.7 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4192, allocations: 12.03 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.4192, allocations: 8.188 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.4193, allocations: 50.73 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.4193, allocations: 16.84 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.4196, allocations: 154.3 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4196, allocations: 8.375 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.4196, allocations: 12.38 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.42, allocations: 154.4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.42, allocations: 4 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.42, allocations: 4 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.42, allocations: 4 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.4204, allocations: 127.9 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.4212, allocations: 467.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4214, allocations: 78.47 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4216, allocations: 48.83 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.4216, allocations: 4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4216, allocations: 30.56 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.4216, allocations: 0 / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004865/0.4221, allocations: 157.9 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4222, allocations: 55.5 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.4224, allocations: 203.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4224, allocations: 25.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.4225, allocations: 119.9 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4225, allocations: 35.69 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.4226, allocations: 25.72 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4227, allocations: 330.8 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4229, allocations: 39.98 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.423, allocations: 48.97 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.4233, allocations: 98.38 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4233, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003401/0.4236, allocations: 145.5 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4236, allocations: 9.875 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4236, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4236, allocations: 4 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4238, allocations: 27.92 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4238, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4239, allocations: 23.88 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4239, allocations: 4 kB / 1.332 GB, free: 12.41 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.0001099/0.424, allocations: 121.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.4241, allocations: 15.91 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.4245, allocations: 139 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4245, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4245, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4245, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.4251, allocations: 435.9 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4251, allocations: 4.094 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4252, allocations: 19.98 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.4252, allocations: 4 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4252, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4252, allocations: 4 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.4253, allocations: 11.92 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.4256, allocations: 245.9 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.4257, allocations: 23.83 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.4257, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4258, allocations: 15.98 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.4259, allocations: 11.92 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4259, allocations: 8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001253/0.426, allocations: 140.1 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.426, allocations: 3.938 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000261/0.4263, allocations: 24 kB / 1.333 GB, free: 11.1 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.0007456/0.427, allocations: 0.7734 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.4273, allocations: 96.88 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4273, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4275, allocations: 51.89 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4278, allocations: 19.94 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.4302, allocations: 1.883 MB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4306, allocations: 0.7121 MB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.4306, allocations: 21.06 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.4307, allocations: 35.44 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4307, allocations: 0 / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.4546, allocations: 3.007 MB / 1.34 GB, free: 4.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.02, allocations: 12.02 kB / 1.34 GB, free: 4.496 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: 18.950110453995876] Failed to read output from testmodel.py, exit status != 0: 12.189710649021436 12.221715882 11.797742947 Calling exit ...