Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001455/0.001455, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001674/0.001674, allocations: 211.1 kB / 23 MB, free: 5.113 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.915/2.915, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.001949/0.001949, allocations: 64.55 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002252/0.307, allocations: 1.306 MB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.3079, allocations: 0.6076 MB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.308, allocations: 0 / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.308, allocations: 4 kB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.308, allocations: 3.938 kB / 1.356 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.3085, allocations: 149.6 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.3086, allocations: 19.92 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3086, allocations: 4 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.3086, allocations: 11.94 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.3087, allocations: 7.984 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3087, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.3092, allocations: 347.3 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3092, allocations: 11.92 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.3092, allocations: 11.98 kB / 1.357 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3095, allocations: 143.5 kB / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3095, allocations: 0 / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3095, allocations: 0 / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3095, allocations: 0 / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004114/0.3099, allocations: 293.8 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3099, allocations: 8.031 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.31, allocations: 4.938 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3101, allocations: 118.4 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3101, allocations: 4.375 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3101, allocations: 384 / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3102, allocations: 42.25 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3102, allocations: 192 / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3102, allocations: 3.938 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3102, allocations: 0 / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.3103, allocations: 19.92 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.3105, allocations: 124.8 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3106, allocations: 46.56 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.3107, allocations: 16.86 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3107, allocations: 0 / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3107, allocations: 30.56 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3107, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0005465/0.3112, allocations: 245.2 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3113, allocations: 51.41 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.3113, allocations: 93.86 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3114, allocations: 29.7 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.3114, allocations: 80.14 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3114, allocations: 23.78 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.3115, allocations: 17.72 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3116, allocations: 318.8 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.3116, allocations: 15.98 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.3116, allocations: 8 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.3117, allocations: 37 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3117, allocations: 0 / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.759e-05/0.3118, allocations: 69.58 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3118, allocations: 7.938 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3118, allocations: 0.5156 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3118, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.3119, allocations: 19.98 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3119, allocations: 0 / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.3119, allocations: 7.938 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3119, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 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 (7): * Single equations (assignments): 7 * 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 7.394e-05/0.312, allocations: 110.5 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.312, allocations: 7.938 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3121, allocations: 85.72 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3121, allocations: 3.938 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3121, allocations: 0 / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3122, allocations: 0 / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3125, allocations: 290.4 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3125, allocations: 0 / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3125, allocations: 15.98 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3125, allocations: 0 / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3125, allocations: 0 / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3125, allocations: 4 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3125, allocations: 0 / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3127, allocations: 184.3 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3127, allocations: 12.02 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3128, allocations: 0 / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.3128, allocations: 4 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.3128, allocations: 3.984 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3128, allocations: 4 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.3129, allocations: 79.28 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3129, allocations: 0 / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002311/0.3131, allocations: 19.94 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001697/0.3133, allocations: 124.6 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3134, allocations: 31.92 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3134, allocations: 4 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.3134, allocations: 15.98 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.3136, allocations: 10.64 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.314, allocations: 222.6 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3143, allocations: 0.6807 MB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.3143, allocations: 11.44 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3144, allocations: 4 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of Templates: time 0.002391/0.3167, allocations: 0.7937 MB / 1.361 GB, free: 0.5273 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 9.865296564996243] Failed to read output from testmodel.py, exit status != 0: 0.3240758100000676 0.33756943399999995 0.025274817 Calling exit ...