Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001564/0.001564, allocations: 115.6 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.00187/0.00187, allocations: 215 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.968/2.968, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001934/0.001934, allocations: 67.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9059, allocations: 178.9 MB / 1.34 GB, free: 16.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002411/0.9083, allocations: 1.503 MB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.9092, allocations: 0.6348 MB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.9093, allocations: 1.25 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.9093, allocations: 5.156 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.9093, allocations: 6.75 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.9099, allocations: 161.9 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.91, allocations: 54.41 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.91, allocations: 7.328 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.9101, allocations: 21.48 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.9101, allocations: 30.48 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.9101, allocations: 3.219 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.9107, allocations: 343 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.9107, allocations: 9.984 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.9107, allocations: 26.53 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.911, allocations: 181.4 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.911, allocations: 0 / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.911, allocations: 1.594 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.911, allocations: 0 / 1.343 GB, free: 14.55 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005501/0.9116, allocations: 404.7 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.9116, allocations: 11.38 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.9116, allocations: 5.906 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.9116, allocations: 42.12 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.9117, allocations: 4.531 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.9118, allocations: 175.9 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.9118, allocations: 3.969 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.9118, allocations: 11.91 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.9121, allocations: 86.72 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.9121, allocations: 0 / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.9121, allocations: 1.375 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9121, allocations: 1.188 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.9123, allocations: 55.64 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.9128, allocations: 317.8 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.9131, allocations: 74 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.9132, allocations: 31.39 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.9132, allocations: 2.078 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.9132, allocations: 35.94 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.9132, allocations: 0 / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001572/0.9148, allocations: 0.6492 MB / 1.345 GB, free: 12.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9149, allocations: 56.72 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.9149, allocations: 101.8 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.9149, allocations: 25.7 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.9149, allocations: 100 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.915, allocations: 39.25 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.915, allocations: 30.3 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.9151, allocations: 318.2 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.9152, allocations: 28.2 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.9153, allocations: 33.33 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.9156, allocations: 81.16 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.9156, allocations: 0 / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003098/0.9159, allocations: 111.6 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9159, allocations: 5.562 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9159, allocations: 4.594 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9159, allocations: 0 / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.916, allocations: 29.53 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9161, allocations: 5.281 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.9161, allocations: 12.91 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.9161, allocations: 7.672 kB / 1.346 GB, free: 12.11 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 5.599e-05/0.9162, allocations: 114.3 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.9162, allocations: 14.45 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.9166, allocations: 122.2 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9166, allocations: 1 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9166, allocations: 4.938 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9166, allocations: 1.312 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.9171, allocations: 391.9 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9171, allocations: 0 / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.9172, allocations: 25.73 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.9172, allocations: 7.922 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9172, allocations: 2.359 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9173, allocations: 0 / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9173, allocations: 2.109 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.9177, allocations: 255.8 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.9177, allocations: 87.45 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.9178, allocations: 4.516 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.9179, allocations: 7.344 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.9179, allocations: 6.531 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.9179, allocations: 2.984 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.9179, allocations: 88.59 kB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.1e-08/0.9179, allocations: 0 / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003017/0.9182, allocations: 39.66 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007267/0.919, allocations: 0.8179 MB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.9193, allocations: 85.84 kB / 1.348 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9193, allocations: 3.938 kB / 1.348 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.9194, allocations: 41.05 kB / 1.348 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.9197, allocations: 11.02 kB / 1.348 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.9215, allocations: 1.591 MB / 1.349 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.9216, allocations: 0.6917 MB / 1.35 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.627e-05/0.9216, allocations: 21.02 kB / 1.35 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.9217, allocations: 26.5 kB / 1.35 GB, free: 8.352 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9217, allocations: 0 / 1.35 GB, free: 8.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.9426, allocations: 2.39 MB / 1.352 GB, free: 7.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/9.059, allocations: 10.45 kB / 1.353 GB, free: 7.93 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.255622081982438] Failed to read output from testmodel.py, exit status != 0: 9.18384591100039 9.203445343 8.288659063999999 Calling exit ...