Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001796/0.001796, allocations: 76.92 kB / 19.18 MB, free: 2.531 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.001892/0.001892, allocations: 169.2 kB / 22.46 MB, free: 5.355 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.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.652/2.652, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.866e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003234/0.003272, allocations: 1.479 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004513, allocations: 0.5649 MB / 0.953 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.004558, allocations: 0 / 0.953 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.004589, allocations: 3.938 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.004645, allocations: 7.875 kB / 0.953 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.005338, allocations: 158.8 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.005463, allocations: 63.77 kB / 0.9532 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.005518, allocations: 4 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005622, allocations: 31.95 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.005691, allocations: 23.91 kB / 0.9533 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.005712, allocations: 4 kB / 0.9533 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.006212, allocations: 279.3 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.006241, allocations: 11.98 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.006281, allocations: 19.92 kB / 0.9536 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.006674, allocations: 187.4 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.006679, allocations: 0 / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.006681, allocations: 3.938 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.006686, allocations: 4 kB / 0.9537 GB, free: 8.75 MB / 0.8575 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.0007006/0.007387, allocations: 321.8 kB / 0.9541 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007427, allocations: 12.03 kB / 0.9541 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.007476, allocations: 8.875 kB / 0.9541 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.007608, allocations: 113.7 kB / 0.9542 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.007641, allocations: 8.375 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.007667, allocations: 4.375 kB / 0.9542 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.007985, allocations: 133.6 kB / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.007999, allocations: 8.125 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.008017, allocations: 8.375 kB / 0.9543 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.008022, allocations: 384 / 0.9543 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.008286, allocations: 51.89 kB / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.008919, allocations: 248.4 kB / 0.9546 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.009321, allocations: 82.47 kB / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.009447, allocations: 36.94 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.009474, allocations: 0 / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.009518, allocations: 46.53 kB / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.009519, allocations: 0 / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001816/0.01133, allocations: 0.4914 MB / 0.9553 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.01138, allocations: 55.39 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.01147, allocations: 93.86 kB / 0.9554 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.0115, allocations: 33.7 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.01157, allocations: 96.02 kB / 0.9555 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.01162, allocations: 43.64 kB / 0.9556 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.01168, allocations: 33.7 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002475/0.01193, allocations: 318.8 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.01208, allocations: 35.92 kB / 0.9559 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01222, allocations: 35.97 kB / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.01252, allocations: 68.83 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01252, allocations: 0 / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000359/0.01288, allocations: 116 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01289, allocations: 8 kB / 0.9562 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.0129, allocations: 0 / 0.9562 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.01292, allocations: 3.984 kB / 0.9562 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01308, allocations: 31.92 kB / 0.9562 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01309, allocations: 320 / 0.9562 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.01316, allocations: 12 kB / 0.9562 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01318, allocations: 7.984 kB / 0.9562 GB, free: 5.988 MB / 0.8575 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.0001179/0.01329, allocations: 117.8 kB / 0.9563 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01333, allocations: 7.953 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.01377, allocations: 133.7 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.01378, allocations: 4 kB / 0.9565 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.01378, allocations: 7.984 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01379, allocations: 0 / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.01442, allocations: 318.1 kB / 0.9568 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.01443, allocations: 3.984 kB / 0.9568 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.01459, allocations: 27.92 kB / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.0146, allocations: 0 / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.01461, allocations: 0 / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01461, allocations: 4 kB / 0.9568 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01461, allocations: 0 / 0.9568 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.01518, allocations: 251.4 kB / 0.957 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.01519, allocations: 7.984 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01521, allocations: 0 / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01534, allocations: 11.98 kB / 0.9571 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.01537, allocations: 7.984 kB / 0.9571 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01538, allocations: 4 kB / 0.9571 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.01543, allocations: 83.28 kB / 0.9572 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01543, allocations: 3.938 kB / 0.9572 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003132/0.01574, allocations: 43.86 kB / 0.9572 GB, free: 4.902 MB / 0.8575 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.0002844/0.01603, allocations: 143 kB / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.01642, allocations: 76.38 kB / 0.9574 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01642, allocations: 0 / 0.9574 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01658, allocations: 47.86 kB / 0.9575 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01691, allocations: 11.98 kB / 0.9575 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.01771, allocations: 257.6 kB / 0.9577 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.0178, allocations: 79.27 kB / 0.9578 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.01787, allocations: 12.67 kB / 0.9578 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.01791, allocations: 16.5 kB / 0.9578 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.01791, allocations: 0 / 0.9578 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.005202/0.02311, allocations: 1.147 MB / 0.9589 GB, free: 3.129 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.872041899710894]